Skip to content

Instantly share code, notes, and snippets.

@aorfanos
Last active December 19, 2020 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aorfanos/4b149d78c95d9fa6c727a856d74155f6 to your computer and use it in GitHub Desktop.
Save aorfanos/4b149d78c95d9fa6c727a856d74155f6 to your computer and use it in GitHub Desktop.
(WIP) promql-cheatsheet

Aggregation

By metric name

sum({__name__=~"elasticsearch_index_.*"}) by (__name__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment