This commit is contained in:
新亮
2021-01-16 14:45:42 +08:00
parent f96d33fdef
commit 2466dfcbfc
33 changed files with 753 additions and 300 deletions

View File

@@ -0,0 +1,12 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["127.0.0.1:9090"]
- job_name: "go_app_server"
static_configs:
- targets:
- "127.0.0.1:9999"