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

Dashboard Metric Explorer

DBAJames
Newcomer

I can not longer add SQL metrics to my dashboard.  Despite giving me the metric or using one in user on another dashboard it says doesnt exist:

"errorType": "FIELD_DOES_NOT_EXIST",
"errorMessage": "The field `avg(sql-server.buffers.cacheHitRatio)` doesn't exist.",

6 REPLIES 6

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Can you show a Data Explorer screenshot?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

what information do you require, just the list of SQL 

DBAJames_0-1734707393636.png

 

Hi,

Just one metric coming by extension. My point is if you are getting datapoints for some metric by extension.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

DBAJames
Newcomer

Explore Metrics produces this (not working):
timeseries avg(`sql-server.general.userConnections`), by: { `dt.entity.sql:sql_server_instance` }
| fieldsAdd value.A = arrayAvg(`avg(sql-server.general.userConnections)`)
| limit 20



DBAJames
Newcomer

SQL Server overview uses(working):
timeseries
connections = avg(`sql-server.general.userConnections`),
by: {`dt.entity.sql:sql_server_instance`}
| sort arrayAvg(connections) desc
| fieldsAdd entityName(`dt.entity.sql:sql_server_instance`)
| limit 20

sia_h
Dynatrace Champion
Dynatrace Champion

Please raise a support ticket. I’ve encountered similar issues and managed to find a workaround by accessing the classic data explorer, querying the metric, and then opening it in DQL.

Data-Explorer-Demo-Live-guu84124-Dynatrace.png

Featured Posts