I have 2 PromQL queries that require a “similar output” (because I need to place them in 1 Grafana Table)
Query 1
JvmActiveButNotExpectedTotal
ResultSet 1
JvmActiveButNotExpectedTotal{env="dev"} ---> 8
JvmActiveButNotExpectedTotal{env="qa"} ---> 18
Query 2
count by (env) (sib_depth{ }/ sib_max{} > 0.1)
Resultset 2
{env="dev"} ---> 10
{env="qa"} ---> 3
The first resultset has a __ name __ indication that can be used in Grafana Transformations.
Is there a way to have the second resultset also returning some kind of “metric / query name”?