Build PromQL Panels from Form Query
Step by step guide to create a dashboard PromQL panel based off a form query.
You can use the Translate to PromQL option to quickly build a PromQL-based panel from form queries. To do so,
- Build a form query, as given in Building a Form-Based Query. For example, let us build a Toplist for the metric,
sysdig_program_cpu_cores_used, segmented by
For Sorting, choose Top.
Click Translate to PromQL.
If a PromQL query is already defined, you will see a message similar to the following:In the scenario, you are overriding manually-created or manually-modified queries in the PromQL tab.
Click Continue to proceed.The PromQL Toplist panel will be displayed on screen.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.