Catchpoint template variables
Use template variables to create dynamic, reusable dashboards that aren’t tied to a specific Catchpoint test, site, or SLO.
Before you begin
Supported variable types
The Catchpoint data source supports the following variable types:
Create a query variable
To create a query variable:
- Navigate to Dashboard settings > Variables.
- Click Add variable.
- Select Query as the variable type.
- Select the Catchpoint data source.
- Configure the query to return the values you want, such as a list of SLOs.
Query examples
A query variable uses the same Action selector as the query editor. The SLO list query is the most useful source for a variable because it returns a clean list of SLOs rather than time series data. The values are loaded from your Catchpoint account, so what you see depends on the SLOs configured there.
Populate a variable with SLOs
This variable query returns the SLOs configured in your Catchpoint account.
After you select the values, the variable’s drop-down lists your SLOs, which you can then reference in an SLO Status query.
Use variables in queries
After you create a variable, reference it in your Catchpoint queries using
variable syntax. For example, create an SLO variable named slo and reference it in the SLO field of an SLO Status query:
$sloThis lets you switch the visualized SLO from a dashboard drop-down without editing the panel.


