SQL: Remove query execution tracking for dashboards (#76017)

dont track dashboard refresh
This commit is contained in:
Gareth Dawson
2023-10-05 11:46:53 +01:00
committed by GitHub
parent 374e2a68f6
commit 835d3c5201

View File

@@ -141,6 +141,10 @@ export abstract class SqlDatasource extends DataSourceWithBackend<SQLQuery, SQLO
}
request.targets.forEach((target) => {
if (request.app === CoreApp.Dashboard || request.app === CoreApp.PanelViewer) {
return;
}
reportInteraction('grafana_sql_query_executed', {
datasource: target.datasource?.type,
editorMode: target.editorMode,