alerta-contrib icon indicating copy to clipboard operation
alerta-contrib copied to clipboard

Update alerta_prometheus.py to honor the silence from ack setting

Open dakotacody opened this issue 3 years ago • 0 comments

  1. ALERTMANAGER_SILENCE_FROM_ACK variable was not being honored to actually disable the silence from an ack.
  2. Set the silence seconds if ALERTMANAGER_SILENCE_DAYS variable is not set.
  3. If a silence is found for an alert that is getting a status change of open or closed we should probably remove the silence in alertmanager if it exists.

dakotacody avatar Jun 04 '21 16:06 dakotacody