Using PromQL Library

PromQL Library includes a set of curated examples to help you get started with PromQL.

Using the examples, you can also perform complex queries against your metrics with one click and get insight into your infrastructure problems which was not previously possible with Sysdig querying.

You’ll find PromQL Library on the Explore slider menu on the Sysdig Monitor UI. To access it, click Explore > PromQL Library.

Use PromQL Library

Click Try me to open PromQL Query Explore. A visualization corresponding to the query will be displayed.

See PromQL Query Explorer for more information.

To copy a query, click the copy icon next to the query.

Filter PromQL Queries

Automatic tag filtering identifies common tags in the given examples. You can use the following to filter queries:

  • Visual label filtering: Simply click the desired color-coded label to filter queries based on tags.

  • Text search: Use the Text Search bar on the top-left navigation pane.

  • Label search: Use the Label drop-down list on the top-left navigation pane.

  • Filter using categories: Use the All Categories checkboxes.