Skip to content

Sample Prometheus Alert

Rohith Kunnath Puthan Veedu edited this page Jan 27, 2021 · 2 revisions
groups:
  - name: Queries are taking more time than expected
    rules:
      - alert: query_takes_more_time_than_expected
        expr: count(sql_fetch_time) < 0
        labels:
          severity: PRIO
          team: team_name
          service: service_name
        annotations:
          summary: "There are queries taking more time than expected"
          description: "{{ sql }} - {{ application_name }}"
Clone this wiki locally