Hi Team! Additionally, you can also generate labe...
# general
a
Hi Team! > Additionally, you can also generate labels and annotations using the results of your query. I've seen the above quote regarding alerts, but how is this achieved? For example, if my alert query contains
Legend Format:{{k8s.namespace.name}}
how can I include the matched
k8s.namespace.name
results in the Alert Description or as a Labels value? Thanks!
s
how can I include the matched
k8s.namespace.name
results
What do you mean by matched results?
a
The list of query results, that appear in the graph.
s
They are already part of the alert payload labels
a
Found it. Thanks.