cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

timeseries avg($metric)

henk_stobbe
DynaMight Leader
DynaMight Leader

Hello,

Var $metric is a existing metric, does anybody know how to make this work?

Or can this not de done?

KR Henk

1 REPLY 1

krzysztof_hoja
Dynatrace Pro
Dynatrace Pro

Unfortunately value of variable (like $metric) is quoted string, so it will not work. But if you know the list of metrics you want to select from you can apply this pattern:

https://community.dynatrace.com/t5/DQL/Function-replace-by-variable-dropdown-selection/m-p/243753#M8...

Kris

Featured Posts