Prometheus: Add interpolation of groupByKeys query parameters into expr (#86360)

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
This commit is contained in:
Kyle Brandt
2024-05-16 08:36:03 -04:00
committed by GitHub
co-authored by ismail simsek
parent 961272a76d
commit 1ab8208e07
8 changed files with 143 additions and 6 deletions
@@ -95,6 +95,13 @@
],
"x-enum-description": {}
},
"groupByKeys": {
"description": "Group By parameters to apply to aggregate expressions in the query",
"type": "array",
"items": {
"type": "string"
}
},
"hide": {
"description": "true if query is disabled (ie should not be returned to the dashboard)\nNOTE: this does not always imply that the query should not be executed since\nthe results from a hidden query may be used as the input to other queries (SSE etc)",
"type": "boolean"