Hi All - I am demo'ing Signoz to my company and ca...
# support
r
Hi All - I am demo'ing Signoz to my company and cant find Documentation on the variables that can be used in the Alert template namespace ? It doesnt seem to match the query, {{$serviceName}} comes up as not found for example.
s
It should be of the format
{{.Labels.serviceName}}
. @Ashu, we should get this added to the docs.
r
Thanks!, is there a list of all the ones available ? I cant find that either
s
I may have misunderstood. What are trying to do?
r
no, you didnt misunderstnad - that was the info I needed
I also wondered if their is a "namespace" of things available in that template, beyond the ones I build in my query
s
There are some trivial
{{.Annotations.}}
like alertname etc.. but mainly the labels from query can be accessed with
{{.Labels.label_name}}
r
are the Annotations listed anywhere
s
Unfortunately no
r
Ok, thanks.
s
@Chitransh Gupta we should get our docs updated for this.
c
@Srikanth Chekuri can you please point out where in our docs this should be updated ?
s
c
Cool. Created an issue here. Will work on it.
r
thanks