MVFC.Pack.Observability
4.0.0
dotnet add package MVFC.Pack.Observability --version 4.0.0
NuGet\Install-Package MVFC.Pack.Observability -Version 4.0.0
<PackageReference Include="MVFC.Pack.Observability" Version="4.0.0" />
<PackageVersion Include="MVFC.Pack.Observability" Version="4.0.0" />
<PackageReference Include="MVFC.Pack.Observability" />
paket add MVFC.Pack.Observability --version 4.0.0
#r "nuget: MVFC.Pack.Observability, 4.0.0"
#:package MVFC.Pack.Observability@4.0.0
#addin nuget:?package=MVFC.Pack.Observability&version=4.0.0
#tool nuget:?package=MVFC.Pack.Observability&version=4.0.0
MVFC.Pack.Observability
Metapackage for observability — distributed tracing, metrics, automatic instrumentation via OpenTelemetry, service discovery and HTTP resilience. Essential for microservices and cloud-native architectures.
Motivation
In cloud-native and microservices architectures, observability is not optional. You need distributed traces to follow a request across services, runtime metrics to detect memory pressure or thread pool exhaustion, and resilient HTTP clients to tolerate transient failures.
Each of these requires its own set of packages, versions and configuration boilerplate. MVFC.Pack.Observability ships the full OpenTelemetry instrumentation stack, service discovery and HTTP resilience as a single, version-locked reference.
Installation
dotnet add package MVFC.Pack.Observability
Quick Start
builder.Services.AddOpenTelemetry()
.WithTracing(tracing => tracing
.AddAspNetCoreInstrumentation()
.AddHttpClientInstrumentation()
.AddOtlpExporter(o =>
o.Endpoint = new Uri(builder.Configuration["Otel:Endpoint"]!)))
.WithMetrics(metrics => metrics
.AddAspNetCoreInstrumentation()
.AddRuntimeInstrumentation()
.AddOtlpExporter());
builder.Services.AddServiceDiscovery();
builder.Services.ConfigureHttpClientDefaults(http =>
http.AddServiceDiscovery()
.AddStandardResilienceHandler());
Included Packages
| Package | Version |
|---|---|
| Microsoft.Extensions.Http.Resilience | 10.3.0 |
| Microsoft.Extensions.ServiceDiscovery | 10.3.0 |
| OpenTelemetry.Exporter.OpenTelemetryProtocol | 1.15.0 |
| OpenTelemetry.Extensions.Hosting | 1.15.0 |
| OpenTelemetry.Instrumentation.AspNetCore | 1.15.0 |
| OpenTelemetry.Instrumentation.Http | 1.15.0 |
| OpenTelemetry.Instrumentation.Runtime | 1.15.0 |
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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 is compatible. 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. |
-
net10.0
- Microsoft.Extensions.Http.Resilience (>= 10.4.0)
- Microsoft.Extensions.ServiceDiscovery (>= 10.4.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.15.1)
- OpenTelemetry.Extensions.Hosting (>= 1.15.1)
- OpenTelemetry.Instrumentation.AspNetCore (>= 1.15.1)
- OpenTelemetry.Instrumentation.Http (>= 1.15.0)
- OpenTelemetry.Instrumentation.Runtime (>= 1.15.0)
-
net9.0
- Microsoft.Extensions.Http.Resilience (>= 9.2.0)
- Microsoft.Extensions.ServiceDiscovery (>= 9.1.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.15.1)
- OpenTelemetry.Extensions.Hosting (>= 1.15.1)
- OpenTelemetry.Instrumentation.AspNetCore (>= 1.15.1)
- OpenTelemetry.Instrumentation.Http (>= 1.15.0)
- OpenTelemetry.Instrumentation.Runtime (>= 1.15.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.