Instrument
Base class of all metrics instrument classes
Gets the instrument description.
Gets a value that indicates if there are any listeners for this instrument.
Gets a value that indicates whether the instrument is an observable instrument.
Gets the Meter that created the instrument.
Gets the instrument name.
Gets the instrument unit of measurements.
Protected constructor to initialize the common instrument properties like the meter, name, description, and unit.
protected Instrument(Meter meter, string name, string unit = null, string description = null, IEnumerable<KeyValuePair<string, object>> tags = null)
Activates the instrument to start recording measurements and to allow listeners to start listening to such measurements.