Concrete metrics collection powered by prometheus-net.
IMetricsService./metrics endpoint for Prometheus.This module provides the actual implementation for the metrics abstractions. It uses the prometheus-net library to manage metric state and exposure.
/metrics endpoint in the middleware pipeline.ICounter, IGauge, and IHistogram using Prometheus primitives.In FullHostBuilder, metrics are enabled by default:
builder.Services.AddAppMetrics(builder.Configuration.GetSection("Metrics").Bind);