Microsoft.Extensions.Diagnostics.Probes
10.6.0-preview.1.26261.4
Prefix Reserved
dotnet add package Microsoft.Extensions.Diagnostics.Probes --version 10.6.0-preview.1.26261.4
NuGet\Install-Package Microsoft.Extensions.Diagnostics.Probes -Version 10.6.0-preview.1.26261.4
<PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" Version="10.6.0-preview.1.26261.4" />
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Probes" Version="10.6.0-preview.1.26261.4" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" />
paket add Microsoft.Extensions.Diagnostics.Probes --version 10.6.0-preview.1.26261.4
#r "nuget: Microsoft.Extensions.Diagnostics.Probes, 10.6.0-preview.1.26261.4"
#:package Microsoft.Extensions.Diagnostics.Probes@10.6.0-preview.1.26261.4
#addin nuget:?package=Microsoft.Extensions.Diagnostics.Probes&version=10.6.0-preview.1.26261.4&prerelease
#tool nuget:?package=Microsoft.Extensions.Diagnostics.Probes&version=10.6.0-preview.1.26261.4&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.
| 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. |
| .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.27)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.6.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net10.0
- Microsoft.Bcl.TimeProvider (>= 10.0.8)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.8)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.8)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.8)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.6.0)
-
net8.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.27)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.6.0)
-
net9.0
- Microsoft.Bcl.TimeProvider (>= 9.0.16)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.16)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 9.0.16)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.16)
- Microsoft.Extensions.Telemetry.Abstractions (>= 10.6.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 |
|---|---|---|
| 10.6.0-preview.1.26261.4 | 150 | 5/12/2026 |
| 10.5.0-preview.1.26213.4 | 1,921 | 4/15/2026 |
| 10.4.0-preview.1.26160.2 | 10,755 | 3/10/2026 |
| 10.3.0-preview.1.26109.11 | 2,148 | 2/10/2026 |
| 10.2.0-preview.1.26063.2 | 14,394 | 1/13/2026 |
| 10.1.0-preview.1.25608.1 | 5,459 | 12/9/2025 |
| 10.0.0-preview.1.25559.3 | 1,058 | 11/11/2025 |
| 9.10.0-preview.1.25513.3 | 315 | 10/14/2025 |
| 9.9.0-preview.1.25458.4 | 27,978 | 9/9/2025 |
| 9.8.0-preview.1.25412.6 | 8,384 | 8/12/2025 |
| 9.7.0-preview.1.25356.2 | 12,946 | 7/8/2025 |
| 9.6.0-preview.1.25310.2 | 529 | 6/10/2025 |
| 9.5.0-preview.1.25262.9 | 19,371 | 5/13/2025 |
| 9.4.0-preview.1.25207.5 | 1,163 | 4/8/2025 |
| 9.3.0-preview.1.25161.3 | 395 | 3/11/2025 |
| 9.2.0-preview.1.25105.6 | 395 | 2/11/2025 |
| 9.1.0-preview.1.25064.3 | 9,550 | 1/14/2025 |
| 9.0.0-preview.9.24556.5 | 3,552 | 11/12/2024 |
| 9.0.0-preview.9.24507.7 | 362 | 10/8/2024 |
| 8.10.0-rtm.24502.7 | 177 | 10/8/2024 |