Documentationbreadcrumb arrow Pluginsbreadcrumb arrow Catchpointbreadcrumb arrow Template variables
Grafana Cloud Enterprise
Last reviewed: June 8, 2026

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:

Variable typeSupported
QueryYes
CustomYes
Data sourceYes

Create a query variable

To create a query variable:

  1. Navigate to Dashboard settings > Variables.
  2. Click Add variable.
  3. Select Query as the variable type.
  4. Select the Catchpoint data source.
  5. 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.

FieldValue
ActionSLO list

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:

text
$slo

This lets you switch the visualized SLO from a dashboard drop-down without editing the panel.

Next steps