mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-07-04 04:33:14 +00:00
Add prometheus
This commit is contained in:
18
prometheus/data/config/prometheus.yaml
Normal file
18
prometheus/data/config/prometheus.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
global:
|
||||
scrape_interval: 10s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "node_exporter"
|
||||
scrape_interval: 2s
|
||||
static_configs:
|
||||
- targets: ["node_exporter:9100"]
|
||||
|
||||
- job_name: "cadvisor"
|
||||
scrape_interval: 2s
|
||||
static_configs:
|
||||
- targets: ["cadvisor:8080"]
|
||||
|
||||
- job_name: caddy
|
||||
scrape_interval: 2s
|
||||
static_configs:
|
||||
- targets: ["caddy:2019"]
|
Reference in New Issue
Block a user