|
|
@ -1,17 +1,17 @@ |
|
|
|
global: |
|
|
|
global: |
|
|
|
scrape_interval: 15s |
|
|
|
scrape_interval: 30s |
|
|
|
external_labels: |
|
|
|
external_labels: |
|
|
|
monitor: 'codelab-monitor' |
|
|
|
monitor: 'codelab-monitor' |
|
|
|
|
|
|
|
|
|
|
|
scrape_configs: |
|
|
|
scrape_configs: |
|
|
|
# nginx vts data |
|
|
|
# nginx vts data |
|
|
|
- job_name: 'nginx' |
|
|
|
- job_name: 'nginx' |
|
|
|
scrape_interval: 5s |
|
|
|
scrape_interval: 30s |
|
|
|
metrics_path: "/status/format/prometheus" |
|
|
|
metrics_path: "/status/format/prometheus" |
|
|
|
static_configs: |
|
|
|
static_configs: |
|
|
|
- targets: ['nginx:80'] |
|
|
|
- targets: ['nginx:80'] |
|
|
|
- job_name: 'metrics' |
|
|
|
- job_name: 'metrics' |
|
|
|
scrape_interval: 5s |
|
|
|
scrape_interval: 30s |
|
|
|
static_configs: |
|
|
|
static_configs: |
|
|
|
# grafana data from /metrics |
|
|
|
# grafana data from /metrics |
|
|
|
- targets: ['dashboard:3000'] |
|
|
|
- targets: ['dashboard:3000'] |
|
|
@ -20,7 +20,7 @@ scrape_configs: |
|
|
|
# cadvisor system |
|
|
|
# cadvisor system |
|
|
|
- targets: ['cadvisor:8080'] |
|
|
|
- targets: ['cadvisor:8080'] |
|
|
|
- job_name: "synapse" |
|
|
|
- job_name: "synapse" |
|
|
|
scrape_interval: 15s |
|
|
|
scrape_interval: 30s |
|
|
|
metrics_path: "/_synapse/metrics" |
|
|
|
metrics_path: "/_synapse/metrics" |
|
|
|
static_configs: |
|
|
|
static_configs: |
|
|
|
- targets: ["matrix-synapse:9000"] |
|
|
|
- targets: ["matrix-synapse:9000"] |
|
|
|