Interface IMetricRecorder
Represents an object which allows to push new data points to the metric.
public interface IMetricRecorder
Methods
Record(double)
Pushes new data point to the metric.
void Record(double value)
Parameters
valuedoubleValue of the data point
Remarks
Call to this method MUST NOT THROW.
Record(double, params IMetricLabel[])
Pushes new data point to the metric.
void Record(double value, params IMetricLabel[] labels)
Parameters
valuedoubleValue of the data point
labelsIMetricLabel[](optional) data points specific labels
Remarks
Call to this method MUST NOT THROW.
Record(double, IEnumerable<IMetricLabel>)
Pushes new data point to the metric.
void Record(double value, IEnumerable<IMetricLabel> labels)
Parameters
valuedoubleValue of the data point
labelsIEnumerable<IMetricLabel>(optional) data points specific labels
Remarks
Call to this method MUST NOT THROW.