Configuration for registering a metric.
readonly
type: MetricType
The metric instrument kind.
readonly
help: string
Human-readable description (Prometheus HELP).
readonly
optional
labels: readonly string[]
Label names attachable to observations.
readonly
optional
buckets: readonly number[]
Histogram bucket boundaries (histogram metrics only).