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.
Returns the tags associated with the instrument.
Gets the instrument unit of measurements.
Constructs a new instance of Instrument.
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)
Initializes a new instance of the Instrument class with the specified meter, name, description, and unit.
Activates the instrument to start recording measurements and to allow listeners to start listening to such measurements.