Prometheus Configuration
Jump to navigation
Jump to search
Internal
Overview
Prometheus is configured in a prometheus.yaml configuration file. The "global" block controls the server's global configuration. The
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
# - "first.rules"
# - "second.rules"
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']