PHP Classes

File: docker/prometheus/alert.rules

Recommend this page to a friend!
  Classes of Omar Shaban   Clean Architecture in PHP Symfony   docker/prometheus/alert.rules   Download  
File: docker/prometheus/alert.rules
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Clean Architecture in PHP Symfony
Symfony based application in a Docker container
Author: By
Last change:
Date: 3 years ago
Size: 628 bytes
 

Contents

Class file image Download
groups: - name: example rules: # Alert for any instance that is unreachable for >2 minutes. - alert: service_down expr: up == 0 for: 2m labels: severity: page annotations: summary: "Instance {{ $labels.instance }} down" description: "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 2 minutes." - alert: high_load expr: node_load1 > 0.5 for: 2m labels: severity: page annotations: summary: "Instance {{ $labels.instance }} under high load" description: "{{ $labels.instance }} of job {{ $labels.job }} is under high load."