Skip to content

Instantly share code, notes, and snippets.

@vutkin
Last active May 24, 2023 12:31
Show Gist options
  • Save vutkin/34e77ea101ff65138e46433105269d67 to your computer and use it in GitHub Desktop.
Save vutkin/34e77ea101ff65138e46433105269d67 to your computer and use it in GitHub Desktop.
Prometheus v2.14.0 releases cardinality
stats in the UI!
Useful queries:
1. sum(scrape_series_added) by (job)
2. sum(scrape_samples_scraped) by (job)
3. prometheus_tsdb_symbol_table_size_bytes
4. topk(10, count by (__name__)({__name__=~".+"}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment