Simple.Service.Monitoring.Library
1.0.19
See the version list below for details.
dotnet add package Simple.Service.Monitoring.Library --version 1.0.19
NuGet\Install-Package Simple.Service.Monitoring.Library -Version 1.0.19
<PackageReference Include="Simple.Service.Monitoring.Library" Version="1.0.19" />
<PackageVersion Include="Simple.Service.Monitoring.Library" Version="1.0.19" />
<PackageReference Include="Simple.Service.Monitoring.Library" />
paket add Simple.Service.Monitoring.Library --version 1.0.19
#r "nuget: Simple.Service.Monitoring.Library, 1.0.19"
#:package Simple.Service.Monitoring.Library@1.0.19
#addin nuget:?package=Simple.Service.Monitoring.Library&version=1.0.19
#tool nuget:?package=Simple.Service.Monitoring.Library&version=1.0.19
Simple.Service.Monitoring.Library
A lightweight, extensible .NET library for real-time service health monitoring and reporting.
Features
- Health check abstraction for any .NET service
- Pluggable health check providers
- Real-time health status reporting
- Integration with ASP.NET Core and background services
- Extensible event/observer model
- Pluggable publishers for notifications (email, webhooks, etc.)
- Designed for cloud-native and on-premises scenarios
Installation
Install via NuGet:
dotnet add package Simple.Service.Monitoring.Library
Usage
1. Register Health Checks
In your Program.cs or Startup.cs:
builder.Services.AddServiceMonitoring()
2. Implement Custom Health Checks (Optional)
Implement IHealthCheckProvider for your own checks:
public class MyCustomHealthCheck : IHealthCheckProvider
{
public Task<HealthCheckResult> CheckAsync(CancellationToken cancellationToken = default)
{
// Your health check logic
return Task.FromResult(HealthCheckResult.Healthy("OK"));
}
}
Register it:
builder.Services.AddServiceMonitoring()
.AddHealthCheck<MyCustomHealthCheck>("My Custom Check");
3. Observe Health Reports
Subscribe to health report events:
public class MyObserver : IReportObserver
{
public Task OnReportAsync(HealthReport report)
{
// Handle report
return Task.CompletedTask;
}
}
// Register observer
builder.Services.AddSingleton<IReportObserver, MyObserver>();
4. Add Publishers (Optional)
You can add publishers to send notifications (email, webhooks, etc.):
License
MIT
Repository
https://github.com/turric4n/Dotnet.Simple.Service.Monitoring
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- AspNetCore.HealthChecks.Elasticsearch (>= 9.0.0)
- AspNetCore.HealthChecks.Hangfire (>= 9.0.0)
- AspNetCore.HealthChecks.Kafka (>= 9.0.0)
- AspNetCore.HealthChecks.MySql.TurricansFork (>= 7.0.1-tns)
- AspNetCore.HealthChecks.Network (>= 9.0.0)
- AspNetCore.HealthChecks.Rabbitmq (>= 9.0.0)
- AspNetCore.HealthChecks.Redis (>= 9.0.0)
- AspNetCore.HealthChecks.Sqlite (>= 9.0.0)
- AspNetCore.HealthChecks.SqlServer (>= 9.0.0)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- CuttingEdge.Conditions.NetStandard (>= 1.2.0)
- InfluxDB.Collector (>= 1.1.1)
- Microsoft.AspNetCore.SignalR.Client (>= 8.0.18)
- Microsoft.Extensions.DependencyInjection (>= 9.0.7)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 9.0.7)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.7)
- Telegram.Bot (>= 22.6.0)
- TimeZoneConverter (>= 7.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Simple.Service.Monitoring.Library:
| Package | Downloads |
|---|---|
|
Simple.Service.Monitoring.Extensions
Simple Service Monitoring Extensions and Health checks for .NET - Added SQL/MySQL query healthCheck and result |
|
|
Simple.Service.Monitoring.UI
Simple health check library UI for internal or external services made in C# - Added SQL/MySQL query healthCheck and result |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.27 | 166 | 2/25/2026 |
| 1.0.26 | 184 | 2/10/2026 |
| 1.0.25 | 164 | 1/27/2026 |
| 1.0.24 | 162 | 1/27/2026 |
| 1.0.23 | 175 | 1/26/2026 |
| 1.0.22 | 169 | 1/26/2026 |
| 1.0.21 | 775 | 12/2/2025 |
| 1.0.20 | 504 | 11/19/2025 |
| 1.0.19 | 431 | 11/17/2025 |
| 1.0.18 | 713 | 7/23/2025 |
| 1.0.17 | 704 | 7/22/2025 |
| 1.0.15 | 334 | 7/16/2025 |
| 1.0.14 | 363 | 7/14/2025 |
| 1.0.13 | 293 | 7/11/2025 |
| 1.0.11 | 264 | 7/4/2025 |
| 1.0.10 | 362 | 6/30/2025 |
| 1.0.9 | 315 | 6/30/2025 |
| 1.0.8 | 330 | 6/30/2025 |
| 1.0.4.2 | 280 | 5/13/2024 |
| 1.0.4.1 | 224 | 5/13/2024 |