homework 10.3: complete 1 task, add partially complete 2 task

This commit is contained in:
2022-10-05 10:48:00 +07:00
parent 6b5f084474
commit cf7e8c27f2
9 changed files with 2312 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
global:
scrape_interval: 15s
scrape_configs:
- job_name: "prometheus"
scrape_interval: 30s
static_configs:
- targets: ["localhost:9090"]
- job_name: "node"
static_configs:
- targets: ["node-exporter:9100"]