Hey! 0/
I have a Prometheus source with a huge amount of alerts, but I interested
only in a part of them.
I wanted to separate interested me alerts via 'match_re' by a certain label.
The thing is that the values of such labels can be varied and I can't set
'my_label: value1' to separate the alerts with 'my_label' label.
I've tried to use regex 'my_label: .+' but seems it doesn't work.
```
...
route:
group_by:
- '...'
group_wait: 30s
group_interval: 5m
repeat_interval: 12h
receiver: 'blackhole'
routes:
- match_re:
opsgenie_team_id: '.+'
receiver: 'opsgenie'
receivers:
- name: 'blackhole'
- name: 'opsgenie'
...
```
Could you guys please help?
I have no ideas on how to split the alerts flow and get only with
'my_label' labels alerts (without respect for its value) :(
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/655d5d8c-e9e1-450e-bf53-ca03692e66f2n%40googlegroups.com.