-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating new metric for filtering 4xx errors #2927
Creating new metric for filtering 4xx errors #2927
Conversation
ab8cd28
to
b581947
Compare
b581947
to
bb7b19e
Compare
Ping @gotjosh @simonpasquier what do you think about this? |
bb7b19e
to
344e2cc
Compare
Signed-off-by: Krishna Teja Puttagunta <krishtez@amazon.com>
344e2cc
to
319bc80
Compare
@roidelapluie @gotjosh @simonpasquier any comments on this? |
Seems like I got tagged on this during some of my PTO and apparently I missed the tag - apologies about that. I'm not sure this is the direction that I want to go. We have a Keeping in mind that this would increase the number of series produced by the Alertmanager but perhaps there are some areas where we can compromise. Off the top of my head:
One last thing I'd like to get some clarity on is: What exactly is the problem that you're trying to solve here? In my experience |
Hi Josh @gotjosh. Thanks a lot for your comments. The main problem that we are trying to solve is to identify the notification failure from customer input failure (for eg: permission deny from integrations that is expected to happen) with the programatic error (the programatic error + integrations 5xx error). To address concern of the cardinality issue, we could do
Please let us know what's your preference |
Discussed this during the Alertmanager Working Group - closing due to #3094 being merged. |
numTotal4xxFailedNotifications
Files Impacted:
notify/email/email.go
notify/email/email_test.go
notify/notify.go
notify/notify_test.go
notify/opsgenie/opsgenie.go
notify/pagerduty/pagerduty.go
notify/pagerduty/pagerduty_test.go
notify/pushover/pushover.go
notify/slack/slack.go
notify/sns/sns.go
notify/telegram/telegram.go
notify/test/test.go
notify/victorops/victorops.go
notify/victorops/victorops_test.go
notify/webhook/webhook.go
notify/wechat/wechat.go