Instrument<T>
The base class for all non-observable instruments.
Create the metrics instrument using the properties meter, name, description, and unit.
protected Instrument(Meter meter, string name, string unit, string description, IEnumerable<KeyValuePair<string, object>> tags)
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
protected void RecordMeasurement(T measurement, KeyValuePair<string, object> tag1, KeyValuePair<string, object> tag2)
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
protected void RecordMeasurement(T measurement, KeyValuePair<string, object> tag1, KeyValuePair<string, object> tag2, KeyValuePair<string, object> tag3)
Records a measurement by notifying all MeterListener objects that are listening to this instrument.
Records a measurement by notifying all MeterListener objects that are listening to this instrument.