mysql-connector: don't query ns column

Grafana handle time series on backend, so this column isn't used
This commit is contained in:
Alexander Zobnin
2017-07-21 21:46:35 +03:00
parent 16256f2778
commit 32e8806158
4 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ function ZabbixDBConnectorFactory(datasourceSrv, backendSrv) {
let table = HISTORY_TO_TABLE_MAP[value_type];
let query = `
SELECT itemid AS metric, clock AS time_sec, ns, value
SELECT itemid AS metric, clock AS time_sec, value
FROM ${table}
WHERE itemid IN (${itemids})
AND clock > ${timeFrom} AND clock < ${timeTill}