comment static_config

This commit is contained in:
kongfei 2022-07-26 12:12:23 +08:00
parent c7b534e338
commit 8b72a15f9a
3 changed files with 9 additions and 9 deletions

View File

@ -5,9 +5,9 @@ global:
replica: 0 replica: 0
scrape_configs: scrape_configs:
- job_name: "categraf-out" #- job_name: "categraf-out"
static_configs: # static_configs:
- targets: ["172.16.6.171:8080"] # - targets: ["172.16.6.171:8080"]
- job_name: "apiserver" - job_name: "apiserver"
metrics_path: "/metrics" metrics_path: "/metrics"

View File

@ -5,9 +5,9 @@ global:
# replica: 0 # replica: 0
scrape_configs: scrape_configs:
- job_name: "categraf-out" #- job_name: "categraf-out"
static_configs: # static_configs:
- targets: ["172.16.6.171:8080"] # - targets: ["172.16.6.171:8080"]
- job_name: "apiserver" - job_name: "apiserver"
metrics_path: "/metrics" metrics_path: "/metrics"

View File

@ -4,9 +4,9 @@ global:
cluster: test cluster: test
replica: 0 replica: 0
scrape_configs: scrape_configs:
- job_name: "categraf-out" #- job_name: "categraf-out"
static_configs: # static_configs:
- targets: ["172.16.6.171:8080"] # - targets: ["172.16.6.171:8080"]
- job_name: "apiserver" - job_name: "apiserver"
metrics_path: "/metrics" metrics_path: "/metrics"
kubernetes_sd_configs: kubernetes_sd_configs: