prometheus / alertmanager

Prometheus Alertmanager
https://prometheus.io
Apache License 2.0
6.62k stars 2.15k forks source link

Victorops message_type not being honoured #3365

Closed JackTHG closed 1 year ago

JackTHG commented 1 year ago

What did you do?

I created a firing alert and configured an alert manager config to route alerts to Victorops with the Victorops config field message_type = warning. I am using the Victorops REST API integration.

What did you expect to see?

I expected to see the message come through to VictorOps with message_type = warning.

What did you see instead? Under which circumstances?

Instead, the message came through to VictorOps with message_type = CRITICAL.

Environment

JackTHG commented 1 year ago

This was an issue with the kube prometheus stack's default rules using lowercase severity values instead of uppercase, AM appears to ignore the value 'warning', instead 'WARNING' must be used.