Unified observability setup for Traces, Metrics, and Logs.
This module provides a “one-stop shop” for configuring OpenTelemetry in TaskHub services. It follows industry standards to ensure compatibility with modern observability stacks (Grafana, Tempo, Prometheus, Loki).
The following libraries are automatically instrumented when using AddAppOpenTelemetry:
Microsoft.AspNetCoreSystem.Net.HttpEntityFrameworkCoreStackExchange.Redisbuilder.Services.AddAppOpenTelemetry(o => {
o.ServiceName = "MyService";
o.OtlpEndpoint = "http://otel-collector:4317";
});