Prometheus timeseries cardinality warning
The "{{ $labels.name }}" timeseries cardinality is getting very high: {{ $value }}
>>>
label_replace
(count by(__
__) ({__
__=~".+"}), "
", "$1", "__
__", "(.+)") > 10000
The rule counts the total number of distinct metric names (__name__) across all scraped series and fires when that count exceeds 10,000, indicating unusually high timeseries cardinality. It triggers whenever the total unique metric name count is greater than 10 000.
Get Alert✕
Download
Copy to Clipboard