Interface ApiBuilderSteps.IMetricsStep
Configuration step for metrics setup.
public interface ApiBuilderSteps.IMetricsStep
Methods
WithMetrics(Action<MeterProviderBuilder>?)
Configures metrics services.
ApiBuilderSteps.ITracingStep WithMetrics(Action<MeterProviderBuilder>? configureMetrics = null)
Parameters
configureMetrics
Action<MeterProviderBuilder>Optional action to configure the meter provider.
Returns
- ApiBuilderSteps.ITracingStep
The next configuration step for tracing setup.