Share via


MetricsServiceExtensions Class

Definition

Extension methods for setting up metrics services in an IServiceCollection.

public ref class MetricsServiceExtensions abstract sealed
public static class MetricsServiceExtensions
type MetricsServiceExtensions = class
Public Module MetricsServiceExtensions
Inheritance
MetricsServiceExtensions

Methods

AddMetrics(IServiceCollection)

Adds metrics services to the specified IServiceCollection.

AddMetrics(IServiceCollection, Action<IMetricsBuilder>)

Adds metrics services to the specified IServiceCollection.

Applies to