Hi, buddies, I met a problem,  while the alert in it had a listed end time 
of 2020-03-11T09:59:24, the actual webhook was only sent at 2020-03-11T10:13, 
it looks like 15 minutes interval, I want to decrease the period time to 
5s, so I carefully look for the configuration about alertmanager, but 
cannot found anything about it, how can I set it?  thank you very much.

below is configuration of alertmanger:
 
"global": 
  "resolve_timeout": "5m"
  smtp_smarthost: 'XXXXXXX'
  smtp_from: 'XXXXXXX'
  smtp_auth_username: 'XXXXXXX
  smtp_auth_password: 'XXXXXXX'
  smtp_require_tls: false
"receivers": 
- "name": "mail"
  email_configs:
  - to: '[email protected]'
- "name": "webhook"
  webhook_configs:
  - url: 'http://flask-alert-service.monitoring:5000/send'
  #- url: 'http://flask-alert-service-2.monitoring:5000/send'
  - url: 'http://aipaas-alert-service.aipaas:10019/alert/message'
  - url: 
'http://aipaas-serving-model-service.aipaas:10014/serving/alert/message'
"route": 
  "group_by": ['alertname', 'cluster','service'] 
  #- "job"
  "group_interval": "1h"
  "group_wait": "30s"
  "receiver": "webhook"
  "repeat_interval": "12h"
  "routes": 
  - "match": 
      "alertname": "DeadMansSwitch"
    "receiver": "webhook"
  - "match":
      severity: warning
    "receiver": "webhook"

-- 
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/d5d8541c-3b25-4acf-96a1-bb8c58aa9a3f%40googlegroups.com.

Reply via email to