Prometheus: Add ExecutedQueryString to first frame only (#73678)

This commit is contained in:
Kyle Brandt
2023-08-23 11:56:19 -04:00
committed by GitHub
parent a01a903492
commit fe774415b5
3 changed files with 8 additions and 10 deletions
+2 -4
View File
@@ -7,8 +7,7 @@
// ],
// "custom": {
// "resultType": "exemplar"
// },
// "executedQueryString": "Expr: histogram_quantile(0.99, sum(rate(traces_spanmetrics_duration_seconds_bucket[15s])) by (le))\nStep: 15s"
// }
// }
// Name: exemplar
// Dimensions: 14 Fields by 62 Rows
@@ -44,8 +43,7 @@
],
"custom": {
"resultType": "exemplar"
},
"executedQueryString": "Expr: histogram_quantile(0.99, sum(rate(traces_spanmetrics_duration_seconds_bucket[15s])) by (le))\nStep: 15s"
}
},
"fields": [
{
@@ -33,8 +33,7 @@
// ],
// "custom": {
// "resultType": "matrix"
// },
// "executedQueryString": "Expr: \nStep: 1s"
// }
// }
// Name: prometheus_http_requests_total{code="400", handler="/api/v1/query_range", job="prometheus"}
// Dimensions: 2 Fields by 2 Rows
@@ -121,8 +120,7 @@
],
"custom": {
"resultType": "matrix"
},
"executedQueryString": "Expr: \nStep: 1s"
}
},
"fields": [
{