Metrics in PromQL

You can use either the Query Builder, or PromQL to build the expression for each metric. Metrics Explorer defaults to using Query Builder.

When you are already familiar with PromQL, this method of building queries may be quicker and more natural.

To learn how to use PromQL for your queries, see Querying Prometheus.

To use PromQL, switch to the PromQL mode to define the metric by clicking the Code icon, Code icon, at the end of the line.

metrics explorer show promql

To revert to using the expression builder, switch to *Builder mode by clicking the Builder icon, Builder icon.

metrics explorer show builder

See PromQL for more information.