Table of Contents

About

Logical Data Modeling - Rule in Prometheus

Prometheus uses rules to:

Configuration

Prometheus - prometheus.yml (conf)

  • evaluation_interval controls how often Prometheus will evaluate rules
global:  
  evaluation_interval: 15s 
  • rule_files block specifies the location of any rules we want the Prometheus server to load
rule_files:
  # - "first.rules"
  # - "second.rules"