Simple.Service.Monitoring.Library
1.0.10
See the version list below for details.
dotnet add package Simple.Service.Monitoring.Library --version 1.0.10
NuGet\Install-Package Simple.Service.Monitoring.Library -Version 1.0.10
<PackageReference Include="Simple.Service.Monitoring.Library" Version="1.0.10" />
<PackageVersion Include="Simple.Service.Monitoring.Library" Version="1.0.10" />
<PackageReference Include="Simple.Service.Monitoring.Library" />
paket add Simple.Service.Monitoring.Library --version 1.0.10
#r "nuget: Simple.Service.Monitoring.Library, 1.0.10"
#addin nuget:?package=Simple.Service.Monitoring.Library&version=1.0.10
#tool nuget:?package=Simple.Service.Monitoring.Library&version=1.0.10
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 (>= 9.0.6)
- Microsoft.Extensions.DependencyInjection (>= 9.0.6)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 9.0.6)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.6)
- Telegram.Bot (>= 22.5.1)
- 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.11 | 100 | 7/4/2025 |
1.0.10 | 178 | 6/30/2025 |
1.0.9 | 167 | 6/30/2025 |
1.0.8 | 160 | 6/30/2025 |
1.0.4.2 | 138 | 5/13/2024 |
1.0.4.1 | 116 | 5/13/2024 |
1.0.4 | 204 | 12/21/2023 |
1.0.3.9 | 265 | 7/3/2023 |
1.0.3.8 | 239 | 7/3/2023 |
1.0.3.7 | 239 | 6/12/2023 |
1.0.3.6 | 269 | 6/9/2023 |
1.0.3.5 | 246 | 6/8/2023 |
1.0.3.4 | 405 | 3/31/2023 |
1.0.3.3 | 301 | 3/31/2023 |
1.0.3.2 | 404 | 3/31/2023 |
1.0.3.1 | 1,072 | 3/16/2022 |
1.0.3 | 1,038 | 3/16/2022 |
1.0.2.9 | 1,095 | 3/16/2022 |
1.0.2.8 | 1,087 | 3/15/2022 |
1.0.2.7 | 1,061 | 3/15/2022 |
1.0.2.6 | 1,138 | 1/25/2022 |
1.0.2.5 | 1,105 | 1/20/2022 |
1.0.2.4 | 1,117 | 1/19/2022 |
1.0.2.3 | 644 | 12/13/2021 |
1.0.2.2 | 2,094 | 11/26/2021 |
1.0.2.1 | 3,533 | 11/25/2021 |
1.0.2 | 2,885 | 11/25/2021 |
1.0.1.9 | 658 | 11/11/2021 |
1.0.1.7 | 831 | 7/20/2021 |
1.0.1.6 | 721 | 6/28/2021 |
1.0.1.5 | 773 | 6/21/2021 |
1.0.1.4 | 714 | 6/7/2021 |
1.0.1.3 | 689 | 6/3/2021 |
1.0.1.2 | 724 | 6/3/2021 |
1.0.1.1 | 746 | 6/2/2021 |
1.0.1 | 755 | 6/2/2021 |
1.0.0 | 724 | 6/1/2021 |