stackdriver: get value type and metric kind from metric descriptor instead of from latest metric result

This commit is contained in:
Erik Sundell
2018-09-26 11:17:24 +02:00
parent 2d602bfcf3
commit 49cd31ab78
5 changed files with 21 additions and 28 deletions

View File

@@ -316,9 +316,6 @@ func (e *StackdriverExecutor) parseResponse(queryRes *tsdb.QueryResult, data Sta
Name: metricName,
Points: points,
})
queryRes.Meta.Set("metricKind", series.MetricKind)
queryRes.Meta.Set("valueType", series.ValueType)
}
queryRes.Meta.Set("resourceLabels", resourceLabels)