Records the current value of a gauge metric.
The metric name.
The instantaneous value to record.
Optionallabels: Record<string, string>Optional key/value labels for dimensional aggregation.
Records a value into a histogram/distribution metric.
The metric name.
The observed value to add to the distribution.
Optionallabels: Record<string, string>Optional key/value labels for dimensional aggregation.
Increments a counter metric by one.
The metric name.
Optionallabels: Record<string, string>Optional key/value labels for dimensional aggregation.
Records a duration measurement in milliseconds.
The metric name.
The measured duration in milliseconds.
Optionallabels: Record<string, string>Optional key/value labels for dimensional aggregation.
Sink for operational metrics emitted by RTCForge.
Remarks
Metric names are typically drawn from Metric. All methods accept optional string labels for dimensional breakdowns. Supply noopMetrics to disable collection.