Cloud Monitoring: set missing meta data for distribution type metrics (#45500) (#45658)

* set missing meta data for distribution type metrics

* add test

* add test

* simplify custom set

* add test for executedQueryString

* add test data

* fix tests

* check group by

(cherry picked from commit 0fb490c00d)

Co-authored-by: Mitsuhiro Tanda <mitsuhiro.tanda@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-02-21 11:37:28 +01:00
committed by GitHub
co-authored by Mitsuhiro Tanda
parent 1ae1bc213d
commit c70c590f39
3 changed files with 100 additions and 0 deletions
@@ -0,0 +1,17 @@
{
"timeSeries": [
{
"metric": {
"type": "loadbalancing.googleapis.com\/https\/backend_latencies"
},
"resource": {
"type": "https_lb_rule",
"labels": {
"project_id": "grafana-prod"
}
},
"metricKind": "DELTA",
"valueType": "DISTRIBUTION"
}
]
}