When using mulit-dimensional Grafana managed alerts (e.g. SSE math) extract refIds values and labels so they can be shown in the notification and dashboards.
(cherry picked from commit b47e7d12e6)
Co-authored-by: Kyle Brandt <kyle@grafana.com>
This commit is contained in:
committed by
GitHub
parent
0101d3a51d
commit
4c967fe718
@@ -1613,7 +1613,7 @@ func TestEval(t *testing.T) {
|
||||
"Alerting"
|
||||
],
|
||||
[
|
||||
""
|
||||
"[ var='A' labels={} value=1 ]"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -1674,7 +1674,7 @@ func TestEval(t *testing.T) {
|
||||
"Normal"
|
||||
],
|
||||
[
|
||||
""
|
||||
"[ var='A' labels={} value=0 ]"
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user