-
Notifications
You must be signed in to change notification settings - Fork 230
Expand file tree
/
Copy path01.prometheus.yml
More file actions
31 lines (27 loc) · 836 Bytes
/
01.prometheus.yml
File metadata and controls
31 lines (27 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# my global config
global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
evaluation_interval: 15s # Evaluate rules every 15 seconds.
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# Alertmanager's address
#- localhost:9093
# Load alerting rules
rule_files:
# List your alert rules here
- "alert_rules.yml"
# A list of scrape configurations
scrape_configs:
# Scrape configuration for Prometheus itself
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
# Example scrape config for a Node Exporter
- job_name: 'jenkins'
metrics_path: '/prometheus'
static_configs:
- targets: ['localhost:8080'] # Node Exporter on localhost