Skip to main content

Variable: MAX_CARDINALITY

const MAX_CARDINALITY: 10000 = 10000

Defined in: src/observability/prometheus-registry.ts:44

Maximum cardinality (unique label combinations) per metric.

Remarks

Prometheus performance degrades with high cardinality. This limit helps prevent runaway metric growth.