Files
Hermes_rocket.chat_Plugin/prometheus/prometheus.yml
T
2026-06-01 12:27:11 +02:00

30 lines
802 B
YAML

# Global configuration
global:
scrape_interval: 15s
evaluation_interval: 15s
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
# Hermes Agent metrics
- job_name: "hermes-agent"
static_configs:
- targets: ["172.17.0.1:8000"]
scrape_interval: 15s