|
1 | | -# Service Level Indicators |
| 1 | +# Trellis.ServiceLevelIndicators |
2 | 2 |
|
3 | | -[](https://github.com/xavierjohn/ServiceLevelIndicators/actions/workflows/build.yml) |
4 | | -[](https://opensource.org/licenses/MIT) |
| 3 | +[](https://github.com/xavierjohn/Trellis.ServiceLevelIndicators/actions/workflows/build.yml) |
| 4 | +[](https://www.nuget.org/packages/Trellis.ServiceLevelIndicators) |
| 5 | +[](https://www.nuget.org/packages/Trellis.ServiceLevelIndicators.Asp) |
| 6 | +[](https://www.nuget.org/packages/Trellis.ServiceLevelIndicators.Asp.ApiVersioning) |
| 7 | +[](https://www.nuget.org/packages/Trellis.ServiceLevelIndicators) |
| 8 | +[](LICENSE) |
| 9 | +[](https://dotnet.microsoft.com/download) |
| 10 | +[](https://docs.microsoft.com/en-us/dotnet/csharp/) |
| 11 | +[](https://github.com/xavierjohn/Trellis.ServiceLevelIndicators/stargazers) |
5 | 12 |
|
6 | | -ServiceLevelIndicators is a .NET library for emitting service-level latency metrics in milliseconds using the standard [System.Diagnostics.Metrics](https://learn.microsoft.com/dotnet/api/system.diagnostics.metrics) and OpenTelemetry pipeline. |
| 13 | +> Latency SLI library for .NET: emits operation-duration histograms via `System.Diagnostics.Metrics` + OpenTelemetry, with rich dimensions (CustomerResourceId, LocationId, Operation, Outcome) and ASP.NET Core + API-versioning integrations. |
| 14 | +
|
| 15 | +`Trellis.ServiceLevelIndicators` is a .NET library for emitting service-level latency metrics in milliseconds using the standard [System.Diagnostics.Metrics](https://learn.microsoft.com/dotnet/api/system.diagnostics.metrics) and OpenTelemetry pipeline. |
7 | 16 |
|
8 | 17 | It is designed for teams that need more than generic request timing. The library helps measure meaningful operations, attach service-specific dimensions such as customer, location, operation name, and SLI outcome, and build SLO or SLA-oriented dashboards and alerts from those metrics. |
9 | 18 |
|
@@ -344,3 +353,14 @@ To view the metrics locally using the [.NET Aspire Dashboard](https://aspire.dev |
344 | 353 |  |
345 | 354 | 4. If you run the sample with API Versioning, you will see something similar to the following. |
346 | 355 |  |
| 356 | + |
| 357 | +## Related repositories |
| 358 | + |
| 359 | +- [`xavierjohn/Trellis`](https://github.com/xavierjohn/Trellis) — the framework: `Result<T>`, `Maybe<T>`, value objects, DDD primitives, ASP.NET / EF Core / Mediator integration. SLI metrics integrate naturally with Trellis pipeline behaviors. |
| 360 | +- [`xavierjohn/Trellis.Microservices`](https://github.com/xavierjohn/Trellis.Microservices) — microservice trust-boundary packages: YARP gateway minting internal JWTs + consumer-side actor provider. |
| 361 | +- [`xavierjohn/Trellis.Microservices.Template`](https://github.com/xavierjohn/Trellis.Microservices.Template) — `dotnet new trellis-microservices` Project Tracker starter. |
| 362 | +- [`xavierjohn/Trellis.AspTemplate`](https://github.com/xavierjohn/Trellis.AspTemplate) — `dotnet new trellis-asp` single-service Clean Architecture template. |
| 363 | +
|
| 364 | +## License |
| 365 | + |
| 366 | +[MIT](LICENSE). |
0 commit comments