Menu
Enterprise

Templates and variables

To add a new Dynatrace query variable, refer to Add a query variable. Use your Dynatrace data source as your data source for the following available queries:

Query type
Select a query type. The query type associate some data with some key or descriptor.
Query typeDescription
Metric namesReturns a list of all metric names
Filter keysReturns a list of all the possible dimensions (e.g. Hostname) that can be used to filter
Filter values for keyReturns a list of filtered values by a key name or a key name template variable
Problem status optionsReturns a list of all problem statuses
Problem impact optionsReturns a list of all problem impacted areas
Problem severity optionsReturns a list of all problem severity types
Query EditorAllows you to configure a customer query using the query editor for which you can use
to create a custom template variable. The query must return only 1 column.
When your query is returning 1 column, hit the Apply button.
optionally, a raw query can return two columns named text and value to have different display values for the values
Regex
(Optional) Filter out any of the returned values from your query with a regular expression

Note

Multi-value and Include All option are currently not supported by the Dynatrace plugin.

After creating a variable, you can find it in the Metric drop-down menu. For more information about variables, refer to Templates and variables.