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.",

4 REPLIES 4

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

 

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

Featured Posts