Language

InstrumentationOptions.EnableMetrics Property

Definition

Gets or sets a value indicating whether the metrics pipeline is enabled. When false, no MeterProvider is configured. Default: true.

public bool EnableMetrics { get; set; }
member this.EnableMetrics : bool with get, set
Public Property EnableMetrics As Boolean

Property Value

Applies to