20 Dec 2024 02:36 PM
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.",
20 Dec 2024 03:02 PM
Hi,
Can you show a Data Explorer screenshot?
Best regards
20 Dec 2024 03:10 PM
what information do you require, just the list of SQL
20 Dec 2024 03:39 PM
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
20 Dec 2024 03:40 PM
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