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 type | Description |
---|---|
Metric names | Returns a list of all metric names |
Filter keys | Returns a list of all the possible dimensions (e.g. Hostname) that can be used to filter |
Filter values for key | Returns a list of filtered values by a key name or a key name template variable |
Problem status options | Returns a list of all problem statuses |
Problem impact options | Returns a list of all problem impacted areas |
Problem severity options | Returns a list of all problem severity types |
Query Editor | Allows 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
andInclude 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.