alert acknowledgement
play

Alert acknowledgement With Alertmanager ukasz Mierzwa Alert states - PowerPoint PPT Presentation

Alert acknowledgement With Alertmanager ukasz Mierzwa Alert states in Alertmanager An alert can be: Unprocessed Active Suppressed (silence or inhibition rule) How to acknowledge an alert with only Alertmanager? Use a silence


  1. Alert acknowledgement With Alertmanager Łukasz Mierzwa

  2. Alert states in Alertmanager An alert can be: ● Unprocessed ● Active ● Suppressed (silence or inhibition rule)

  3. How to acknowledge an alert with only Alertmanager? Use a silence

  4. Option #1 ● Create a silence with long duration ● Expire it manually when alert stops

  5. Option #2 ● Create a silence with short duration ● Keep extending duration as long as alerts keep firing

  6. https://github.com/prymitive/kthxbye

  7. $ ./kthxbye 2bd8ab23-eec7-49f4-814f-f8882acf709e is not used by any alert, letting it expire 63599cb9-9766-4cf2-9fcd-035c43312005 expires in 2m34.8882584s and matches 8 alert(s), extending it by 15m0s Silence updated: 63599cb9-9766-4cf2-9fcd-035c43312005 => 81faa1ae-3c42-4619-8b35-b3bc5c409b3a 2bd8ab23-eec7-49f4-814f-f8882acf709e is not used by any alert, letting it expire

  8. https://github.com/prymitive/karma

  9. Live demo https://karma-demo.herokuapp.com/

  10. Takeaways ● Not everything needs to be a core Prometheus / Alertmanager feature ● It’s easy to extend Prometheus / Alertmanager ● It’s easy to write Alertmanager v2 API clients

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend