DQL
Questions about Dynatrace Query Language
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help with demo dashboard warnings DEMO

NicoleMT
Organizer

Hello community,

Could you please help me with this demo dashboard?: https://{environmentid}.apps.dynatrace.com/ui/apps/dynatrace.dashboards/dashboard/5c4c8356-8344-44e2...

We applied it in our environment some time ago, but recently these warnings started to appear. We need to adjust the DQL query for the dynamic variable auto_sampling_ratio so that the sampling ratio value is exactly 1, 10, 100, or 1000, since Dynatrace only supports those values.

NicoleMT_0-1765574372180.png

 

Any guidance or examples on how to configure this properly would be greatly appreciated. 

4 REPLIES 4

NicoleMT
Organizer

....

jolinger
Visitor

I don’t have this demo dashboard in my environment. However, to adjust the sampling ratio, you can add it as a parameter in the DQL query, for example:

fetch logs, samplingRatio:10

 

jolinger_0-1768243430727.png

You can then adjust the ratio as needed. If the dashboard tiles are not currently DQL-based, there should be an option in the tile’s dropdown menu to convert it to a DQL tile. 

jolinger_1-1768243718014.png

Once converted, you can modify the sampling ratio parameter to eliminate the warning.

 

 

jolinger
Visitor

I also just saw that you are doing this through a variable. You can set the variable options to be 1, 10, 100, and 1000, and then set up a reasonable default value for the dropdown that makes sense for your dashboard.

jolinger_2-1768244093935.png

 

Sorry for my initial confusion.

Featured Posts