CyberEye.HealthCheck.Lib
3.0.34
dotnet add package CyberEye.HealthCheck.Lib --version 3.0.34
NuGet\Install-Package CyberEye.HealthCheck.Lib -Version 3.0.34
<PackageReference Include="CyberEye.HealthCheck.Lib" Version="3.0.34" />
<PackageVersion Include="CyberEye.HealthCheck.Lib" Version="3.0.34" />
<PackageReference Include="CyberEye.HealthCheck.Lib" />
paket add CyberEye.HealthCheck.Lib --version 3.0.34
#r "nuget: CyberEye.HealthCheck.Lib, 3.0.34"
#:package CyberEye.HealthCheck.Lib@3.0.34
#addin nuget:?package=CyberEye.HealthCheck.Lib&version=3.0.34
#tool nuget:?package=CyberEye.HealthCheck.Lib&version=3.0.34
CyberEye.HealthCheck.Lib
Các registration Health check theo dependency và publisher chuyển HealthReport thành Prometheus metric.
Target framework: net8.0.
Cài đặt
dotnet add package CyberEye.HealthCheck.Lib
Cần cấu hình NuGet feed của dự án và chọn phiên bản tương thích với các package CyberEye khác trong host.
Tích hợp host
Host Ce.Common.Lib map endpoint tổng hợp /health-check khi HealthCheckConfiguration:UseHealthCheck bật. Package không tự tạo /health/live hoặc /health/ready.
Đăng ký thấp tầng khi host chưa làm:
using Ce.HealthCheck.Lib.StartupExtensions;
builder.Services.AddCustomHealthCheck(builder.Configuration);
{
"HealthCheckConfiguration": {
"UseHealthCheck": true
}
}
Bật thêm từng dependency theo config model. Map endpoint là bước của pipeline host; không đồng nghĩa gọi registration là đã có URL.
Các khác biệt quan trọng
- Nếu cần probe liveness/readiness riêng, phải chọn predicate/tag phù hợp; không map cùng toàn bộ dependency cho cả hai.
- AiModelHealthCheck gọi /api/tags theo giao thức Ollama, không phải thử inference.
- health_check có label health_check_name: Unhealthy=0, Degraded=1, Healthy=2.
| 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 was computed. 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 was computed. 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. |
-
net8.0
- AspNetCore.HealthChecks.Aws.S3 (>= 8.0.1)
- AspNetCore.HealthChecks.Elasticsearch (>= 8.0.1)
- AspNetCore.HealthChecks.MongoDb (>= 8.1.0)
- AspNetCore.HealthChecks.MySql (>= 8.0.1)
- AspNetCore.HealthChecks.Network (>= 8.0.1)
- AspNetCore.HealthChecks.NpgSql (>= 8.0.2)
- AspNetCore.HealthChecks.Oracle (>= 8.0.1)
- AspNetCore.HealthChecks.Rabbitmq (>= 8.0.2)
- AspNetCore.HealthChecks.Redis (>= 8.0.1)
- AspNetCore.HealthChecks.Sqlite (>= 8.1.0)
- AspNetCore.HealthChecks.SqlServer (>= 8.0.2)
- AspNetCore.HealthChecks.System (>= 8.0.1)
- AspNetCore.HealthChecks.UI.Client (>= 8.0.1)
- AspNetCore.HealthChecks.Uris (>= 8.0.1)
- CyberEye.CommonCaching.Lib (>= 3.0.34)
- CyberEye.CommonElasticsearch.Lib (>= 3.0.34)
- CyberEye.CommonMongoDb.Lib (>= 3.0.34)
- CyberEye.Interaction.Lib (>= 3.0.34)
- CyberEye.OidcClient.Lib (>= 3.0.34)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CyberEye.HealthCheck.Lib:
| Package | Downloads |
|---|---|
|
CyberEye.Common.Lib
Package chứa các hàm tiện ích, các base class, abstract class |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.34 | 0 | 11/15/2026 |
| 3.0.33 | 0 | 11/15/2026 |
| 3.0.32 | 0 | 11/15/2026 |
| 3.0.31 | 40 | 11/15/2026 |
| 3.0.30 | 45 | 11/15/2026 |
| 3.0.29 | 49 | 11/13/2026 |
| 3.0.28 | 123 | 11/6/2026 |
| 3.0.27 | 148 | 9/17/2026 |
| 3.0.26 | 161 | 9/8/2026 |
| 3.0.25 | 165 | 8/22/2026 |
| 3.0.24 | 167 | 8/10/2026 |
| 3.0.23 | 148 | 8/9/2026 |
| 3.0.22 | 183 | 8/1/2026 |
| 3.0.21 | 153 | 7/28/2026 |
| 3.0.20 | 178 | 7/27/2026 |
| 3.0.19 | 171 | 7/27/2026 |
| 3.0.18 | 159 | 7/17/2026 |
| 3.0.17 | 160 | 7/13/2026 |
| 3.0.16 | 158 | 7/12/2026 |
| 3.0.15 | 152 | 7/10/2026 |