ReadonlyhelpHuman-readable description.
ReadonlynameMetric name (Prometheus naming conventions).
ReadonlytypeThe metric instrument kind.
Records an observation.
For counters the value is the increment (default 1); for gauges the new value; for histograms and summaries the observed sample.
Optionalvalue: number
The observed value
Optionallabels: Readonly<Record<string, string>>
Label values keyed by label name
A registered metric.
Since
0.1.0