On Tue, 19 May 2020 at 10:25, Roland Mieslinger <[email protected]> wrote:

> Am Dienstag, 19. Mai 2020 10:46:32 UTC+2 schrieb Brian Brazil:
>>
>> On Tue, 19 May 2020 at 09:25, Roland Mieslinger <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> we are using the same set of alert rules for both, our production and qa
>>> environment, with the severity label set to a value based on what is
>>> appropriate for production.
>>> As a consequence, alert severity is too high for most alerts in our qa
>>> environment.
>>>
>>
>>> The environment is available as a label form every metric, I could of
>>> course duplicate all alert rules, filter by environment label, and set the
>>> appropriate severity label; very tedious in the long run, but so far the
>>> only solution that came to my mind,
>>>
>>
>> The usual way I'd handle this is via routing alerts differently in the
>> alertmanager for dev/qa environments.
>>
>
> But this would leave the severity at the same level, or am I missing a way
> to change it this way?
>

It would, however the purpose of severity is to be used for routing in the
alertmanager.

-- 
Brian Brazil
www.robustperception.io

-- 
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/CAHJKeLrAataOVgxZkpKV6mKPs2yOAM3wRSiJXbOtXH7YESKDYw%40mail.gmail.com.

Reply via email to