Microsoft.Extensions.Diagnostics.Probes
11.0.0-preview.1.26560.3
Prefix Reserved
dotnet add package Microsoft.Extensions.Diagnostics.Probes --version 11.0.0-preview.1.26560.3
NuGet\Install-Package Microsoft.Extensions.Diagnostics.Probes -Version 11.0.0-preview.1.26560.3
<PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" Version="11.0.0-preview.1.26560.3" />
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Probes" Version="11.0.0-preview.1.26560.3" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" />
paket add Microsoft.Extensions.Diagnostics.Probes --version 11.0.0-preview.1.26560.3
#r "nuget: Microsoft.Extensions.Diagnostics.Probes, 11.0.0-preview.1.26560.3"
#:package Microsoft.Extensions.Diagnostics.Probes@11.0.0-preview.1.26560.3
#addin nuget:?package=Microsoft.Extensions.Diagnostics.Probes&version=11.0.0-preview.1.26560.3&prerelease
#tool nuget:?package=Microsoft.Extensions.Diagnostics.Probes&version=11.0.0-preview.1.26560.3&prerelease
Microsoft.Extensions.Diagnostics.Probes
Answers Kubernetes liveness, startup, and readiness TCP probes based on the results from the Health Checks service.
Install the package
From the command-line:
dotnet add package Microsoft.Extensions.Diagnostics.Probes
Or directly in the C# project file:
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" Version="[CURRENTVERSION]" />
</ItemGroup>
Usage Example
The health check endpoints can be registered and configured with the following methods:
public static IServiceCollection AddKubernetesProbes(this IServiceCollection services)
public static IServiceCollection AddKubernetesProbes(this IServiceCollection services, IConfigurationSection section)
public static IServiceCollection AddKubernetesProbes(this IServiceCollection services, Action<KubernetesProbesOptions> configure)
Each type of probe handler can have its details configured separately.
services.AddKubernetesProbes(options =>
{
options.LivenessProbe.TcpPort = 2305;
options.StartupProbe.TcpPort = 2306;
options.ReadinessProbe.TcpPort = 2307;
})
The HealthAssessmentPeriod property defines how often the health-checks are assessed. By default 30 seconds.
Each probe can also specify Func<HealthCheckRegistration, bool>? FilterChecks to customize which health checks are run.
Feedback & Contributing
We welcome feedback and contributions in our GitHub repo.
Supported Platforms
This package includes .NET Framework compatible targets, but is not officially supported on .NET Framework.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.34)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 11.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net10.0
- Microsoft.Bcl.TimeProvider (>= 10.0.15)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.15)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.15)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.15)
- Microsoft.Extensions.Telemetry.Abstractions (>= 11.0.0)
-
net11.0
- Microsoft.Bcl.TimeProvider (>= 11.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 11.0.0)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 11.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 11.0.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 11.0.0)
-
net8.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.34)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 11.0.0)
-
net9.0
- Microsoft.Bcl.TimeProvider (>= 9.0.23)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.23)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.23)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.23)
- Microsoft.Extensions.Telemetry.Abstractions (>= 11.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Microsoft.Extensions.Diagnostics.Probes:
| Package | Downloads |
|---|---|
|
Archetypical.Software.Vega.Api.Abstractions
This package provides a turn-key API and DBContext for any REST and ODATA exposed data models. These models also allow for automated DBContexts across multiple db technologies. Full OTEL support and swagger/redoc tooling |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0-preview.1.26560.3 | 85 | 11/10/2026 |
| 10.11.0-preview.1.26513.7 | 653 | 10/14/2026 |
| 10.10.0-preview.1.26459.2 | 1,792 | 9/9/2026 |
| 10.9.0-preview.1.26411.16 | 1,811 | 8/11/2026 |
| 10.8.0-preview.1.26364.2 | 4,632 | 7/14/2026 |
| 10.7.0-preview.1.26309.5 | 406 | 6/9/2026 |
| 10.6.0-preview.1.26261.4 | 3,059 | 5/12/2026 |
| 10.5.0-preview.1.26213.4 | 20,029 | 4/15/2026 |
| 10.4.0-preview.1.26160.2 | 18,182 | 3/10/2026 |
| 10.3.0-preview.1.26109.11 | 4,403 | 2/10/2026 |
| 10.2.0-preview.1.26063.2 | 19,522 | 1/13/2026 |
| 10.1.0-preview.1.25608.1 | 5,546 | 12/9/2025 |
| 10.0.0-preview.1.25559.3 | 1,909 | 11/11/2025 |
| 9.10.0-preview.1.25513.3 | 350 | 10/14/2025 |
| 9.9.0-preview.1.25458.4 | 28,995 | 9/9/2025 |
| 9.8.0-preview.1.25412.6 | 8,424 | 8/12/2025 |
| 9.7.0-preview.1.25356.2 | 13,616 | 7/8/2025 |
| 9.6.0-preview.1.25310.2 | 561 | 6/10/2025 |
| 9.5.0-preview.1.25262.9 | 21,129 | 5/13/2025 |
| 9.4.0-preview.1.25207.5 | 1,198 | 4/8/2025 |