stackdriver: get value type and metric kind from metric descriptor instead of from latest metric result
This commit is contained in:
1 parent
2d602bfcf3
commit
49cd31ab78
5 files changed
+21
-28
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user