Перейти к содержимому

Trellis Service Level Indicators for .NET: Complete NuGet Guide

Trellis

0:00 / 0:00

Trellis Service Level Indicators for .NET: Complete NuGet Guide

5 просмотров · 2 ч назад
Trellis
13 подписчиков
5 просмотров · 2 ч назад
A practical guide to the Trellis.ServiceLevelIndicators NuGet packages for .NET. Learn which package to install, instrument ASP.NET APIs and background work, export the metric through OpenTelemetry, and diagnose a repeatable reliability breach with Aspire, Prometheus, and Grafana. Chapters: 0:00 Trellis SLI packages for .NET 0:36 SLI vs SLO vs SLA 1:16 The SLI metric contract 2:04 Choose the right NuGet package 2:43 Configure OpenTelemetry and middleware 3:28 Instrument an ASP.NET endpoint 4:06 Verify metrics in Aspire 4:45 Replay a production incident 5:22 Diagnose the breach in Grafana 5:59 ClientError vs Failure 6:36 Measure background operations 7:13 Run the complete sample You'll learn: The difference between an SLI, SLO, and SLA How one operation.duration histogram supports latency percentiles and success-rate math How to configure Trellis.ServiceLevelIndicators.Asp with OpenTelemetry How to choose stable Operation, CustomerResourceId, LocationId, and Outcome dimensions Why ClientError is excluded from the default success denominator while 429 throttling is Failure How to verify the custom metric quickly in Aspire How to filter a Grafana incident from the aggregate symptom to SyncProject and project-red How to measure background work with the same contract Trellis.ServiceLevelIndicators on NuGet: https://www.nuget.org/packages/Trelli... ASP.NET Core integration: https://www.nuget.org/packages/Trelli... Source, samples, and documentation: https://github.com/xavierjohn/Service... Usage reference: https://github.com/xavierjohn/Service... Trellis on GitHub: https://github.com/xavierjohn/Trellis Trellis YouTube channel:    / @trellisdev   The 99% success-rate and 250 ms P99 objectives in this video are illustrative Project Tracker targets, not package defaults. #dotnet #csharp #opentelemetry #grafana #sre #observability