Nicholas Weight
06/04/2025, 7:44 PMtags
from labels
, and I can't seem to find a way to add tags
to alerts.
I have figured out that the alerts send the labels
as {{extraProperties}}
so I have been doing things like adding {{extraProperties.team}}
to the integration Alert Rule Tags section. This will create a tag from the value I set in the alert labels
for the 'teams' key.
My problem is since multiple services can be a part of an alert, when I set the label service_name: {{$service.name}}
it will work when only one service is alerting but no tags or {{extraProperties}}
is created with all the services being alerted on.
• Will #8014 fix this by allowing me to say create one alert per service?
• Should I use the Prometheus integration in JSM? Will that give me better control over what is being sent or how JSM consumes alerts?