PromQL: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=External=
=External=
* https://prometheus.io/docs/prometheus/latest/querying/basics/
* https://prometheus.io/docs/prometheus/latest/querying/basics/
* https://prometheus.io/docs/prometheus/latest/querying/examples/


=Internal=
=Internal=

Revision as of 16:49, 15 October 2020

External

Internal

Organizatorium

Vectors. Instant vectors. Time ranged vectors.

Query for all series that are associated with a certain label:

some_metric{some_label!=""}

Query for all series that are associated with two labels:

some_metric{some_label!="",some_other_label!=""}