![]() |
VOOZH | about |
dotnet add package Microsoft.Extensions.Diagnostics.Probes --version 10.7.0-preview.1.26309.5
NuGet\Install-Package Microsoft.Extensions.Diagnostics.Probes -Version 10.7.0-preview.1.26309.5
<PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" Version="10.7.0-preview.1.26309.5" />
<PackageVersion Include="Microsoft.Extensions.Diagnostics.Probes" Version="10.7.0-preview.1.26309.5" />Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Diagnostics.Probes" />Project file
paket add Microsoft.Extensions.Diagnostics.Probes --version 10.7.0-preview.1.26309.5
#r "nuget: Microsoft.Extensions.Diagnostics.Probes, 10.7.0-preview.1.26309.5"
#:package Microsoft.Extensions.Diagnostics.Probes@10.7.0-preview.1.26309.5
#addin nuget:?package=Microsoft.Extensions.Diagnostics.Probes&version=10.7.0-preview.1.26309.5&prereleaseInstall as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Diagnostics.Probes&version=10.7.0-preview.1.26309.5&prereleaseInstall as a Cake Tool
Answers Kubernetes liveness, startup, and readiness TCP probes based on the results from the Health Checks service.
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>
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.
We welcome feedback and contributions in our GitHub repo.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
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 |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.7.0-preview.1.26309.5 | 85 | 6/9/2026 |
| 10.6.0-preview.1.26261.4 | 573 | 5/12/2026 |
| 10.5.0-preview.1.26213.4 | 5,604 | 4/15/2026 |
| 10.4.0-preview.1.26160.2 | 14,687 | 3/10/2026 |
| 10.3.0-preview.1.26109.11 | 2,565 | 2/10/2026 |
| 10.2.0-preview.1.26063.2 | 15,683 | 1/13/2026 |
| 10.1.0-preview.1.25608.1 | 5,509 | 12/9/2025 |
| 10.0.0-preview.1.25559.3 | 1,224 | 11/11/2025 |
| 9.10.0-preview.1.25513.3 | 319 | 10/14/2025 |
| 9.9.0-preview.1.25458.4 | 28,341 | 9/9/2025 |
| 9.8.0-preview.1.25412.6 | 8,387 | 8/12/2025 |
| 9.7.0-preview.1.25356.2 | 13,136 | 7/8/2025 |
| 9.6.0-preview.1.25310.2 | 532 | 6/10/2025 |
| 9.5.0-preview.1.25262.9 | 19,744 | 5/13/2025 |
| 9.4.0-preview.1.25207.5 | 1,165 | 4/8/2025 |
| 9.3.0-preview.1.25161.3 | 400 | 3/11/2025 |
| 9.2.0-preview.1.25105.6 | 397 | 2/11/2025 |
| 9.1.0-preview.1.25064.3 | 9,561 | 1/14/2025 |
| 9.0.0-preview.9.24556.5 | 3,573 | 11/12/2024 |
| 8.10.0-rtm.24502.7 | 191 | 10/8/2024 |