ReadonlyhelpHuman-readable description.
ReadonlynameMetric name (Prometheus naming conventions).
ReadonlytypeThe metric instrument kind.
Decrements the gauge.
Optionalvalue: number
The value to subtract (default 1)
Optionallabels: Readonly<Record<string, string>>
Label values keyed by label name
Increments the gauge.
Optionalvalue: number
The value to add (default 1)
Optionallabels: Readonly<Record<string, string>>
Label values keyed by label name
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
Sets the gauge to a specific value.
The new value
Optionallabels: Readonly<Record<string, string>>
Label values keyed by label name
Gauge: arbitrary set / inc / dec.
observesets the value.Since
0.2.0