Share via


Instrument<T>.Enabled Property

Definition

Gets a value indicating whether there are any listeners for this instrument. Always True currently, as measurements are recorded internal to the instrument. When OpenTelemetry is integrated, this will accurately describe the status of listeners.

public bool Enabled { get; }
member this.Enabled : bool
Public ReadOnly Property Enabled As Boolean

Property Value

Implements

Applies to