更新线上Prometheus配置

This commit is contained in:
zhangchengwei
2019-03-18 18:26:54 +08:00
parent e96c9f759f
commit ee9c0fe269
3 changed files with 62 additions and 5 deletions

View File

@@ -22,13 +22,36 @@ scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'minio_almaty'
metrics_path: /minio/prometheus/metrics
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['10.3.35.1:9000', '10.3.35.2:9000', '10.3.35.3:9000', '10.3.35.4:9000', '10.3.35.5:9000', '10.3.35.6:9000', '10.3.35.7:9000', '10.3.35.8:9000', '10.3.35.9:9000', '10.3.35.10:9000', '10.3.35.11:9000', '10.3.35.12:9000', '10.3.35.13:9000', '10.3.35.14:9000', '10.3.35.15:9000', '10.3.35.16:9000', '10.3.35.17:9000', '10.3.35.18:9000', '10.3.35.19:9000', '10.3.35.20:9000', '10.3.35.21:9000', '10.3.35.22:9000', '10.3.35.23:9000', '10.3.35.24:9000', '10.3.35.25:9000', '10.3.35.26:9000', '10.3.35.27:9000', '10.3.35.28:9000', '10.3.35.29:9000', '10.3.35.30:9000', '10.3.35.31:9000', '10.3.35.32:9000', '10.3.35.33:9000', '10.3.35.34:9000', '10.3.35.35:9000', '10.3.35.36:9000', '10.3.35.37:9000', '10.3.35.38:9000', '10.3.35.39:9000', '10.3.35.40:9000', '10.3.35.41:9000', '10.3.35.42:9000', '10.3.35.43:9000', '10.3.35.44:9000', '10.3.35.45:9000', '10.3.35.46:9000', '10.3.35.47:9000', '10.3.35.48:9000']
- targets: ['10.3.35.1:9000', '10.3.35.2:9000', '10.3.35.3:9000', '10.3.35.4:9000', '10.3.35.5:9000', '10.3.35.6:9000', '10.3.35.7:9000', '10.3.35.8:9000', '10.3.35.9:9000', '10.3.35.10:9000', '10.3.35.11:9000', '10.3.35.12:9000', '10.3.35.13:9000', '10.3.35.14:9000', '10.3.35.15:9000', '10.3.35.16:9000', '10.3.35.17:9000', '10.3.35.18:9000', '10.3.35.19:9000', '10.3.35.20:9000', '10.3.35.51:9000', '10.3.35.52:9000', '10.3.35.53:9000', '10.3.35.54:9000', '10.3.35.55:9000', '10.3.35.56:9000']
- job_name: "os_almaty"
static_configs:
- targets: ['10.3.35.1:9100', '10.3.35.2:9100', '10.3.35.3:9100', '10.3.35.4:9100', '10.3.35.5:9100', '10.3.35.6:9100', '10.3.35.7:9100', '10.3.35.8:9100', '10.3.35.9:9100', '10.3.35.10:9100', '10.3.35.11:9100', '10.3.35.12:9100', '10.3.35.13:9100', '10.3.35.14:9100', '10.3.35.15:9100', '10.3.35.16:9100', '10.3.35.17:9100', '10.3.35.18:9100', '10.3.35.19:9100', '10.3.35.20:9100', '10.3.35.21:9100', '10.3.35.22:9100', '10.3.35.23:9100', '10.3.35.24:9100', '10.3.35.25:9100', '10.3.35.26:9100', '10.3.35.27:9100', '10.3.35.28:9100', '10.3.35.29:9100', '10.3.35.30:9100', '10.3.35.31:9100', '10.3.35.32:9100', '10.3.35.33:9100', '10.3.35.34:9100', '10.3.35.35:9100', '10.3.35.36:9100', '10.3.35.37:9100', '10.3.35.38:9100', '10.3.35.39:9100', '10.3.35.40:9100', '10.3.35.41:9100', '10.3.35.42:9100', '10.3.35.43:9100', '10.3.35.44:9100', '10.3.35.45:9100', '10.3.35.46:9100', '10.3.35.47:9100', '10.3.35.48:9100']
- targets: ['10.3.35.1:9100', '10.3.35.2:9100', '10.3.35.3:9100', '10.3.35.4:9100', '10.3.35.5:9100', '10.3.35.6:9100', '10.3.35.7:9100', '10.3.35.8:9100', '10.3.35.9:9100', '10.3.35.10:9100', '10.3.35.11:9100', '10.3.35.12:9100', '10.3.35.13:9100', '10.3.35.14:9100', '10.3.35.15:9100', '10.3.35.16:9100', '10.3.35.17:9100', '10.3.35.18:9100', '10.3.35.19:9100', '10.3.35.20:9100', '10.3.35.21:9100', '10.3.35.22:9100', '10.3.35.23:9100', '10.3.35.24:9100', '10.3.35.25:9100', '10.3.35.26:9100', '10.3.35.27:9100', '10.3.35.28:9100', '10.3.35.29:9100', '10.3.35.30:9100', '10.3.35.31:9100', '10.3.35.32:9100', '10.3.35.33:9100', '10.3.35.34:9100', '10.3.35.35:9100', '10.3.35.36:9100', '10.3.35.37:9100', '10.3.35.38:9100', '10.3.35.39:9100', '10.3.35.40:9100', '10.3.35.41:9100', '10.3.35.42:9100', '10.3.35.43:9100', '10.3.35.44:9100', '10.3.35.45:9100', '10.3.35.46:9100', '10.3.35.47:9100', '10.3.35.48:9100', '10.3.35.51:9100', '10.3.35.52:9100', '10.3.35.53:9100', '10.3.35.54:9100', '10.3.35.55:9100', '10.3.35.56:9100']
- job_name: 'minio_avlog_almaty'
metrics_path: /minio/prometheus/metrics
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['10.3.34.43:9000', '10.3.34.44:9000', '10.3.34.45:9000', '10.3.34.46:9000', '10.3.34.47:9000', '10.3.34.48:9000']
- job_name: "os_avlog_almaty"
static_configs:
- targets: ['10.3.34.43:9100', '10.3.34.44:9100', '10.3.34.45:9100', '10.3.34.46:9100', '10.3.34.47:9100', '10.3.34.48:9100']
- job_name: 'minio_filelog_almaty'
metrics_path: /minio/prometheus/metrics
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['10.3.35.60:9000', '10.3.35.61:9000', '10.3.35.62:9000', '10.3.35.63:9000', '10.3.35.64:9000', '10.3.35.65:9000', '10.3.35.66:9000', '10.3.35.67:9000']
- job_name: "os_filelog_almaty"
static_configs:
- targets: ['10.3.35.58:9100', '10.3.35.59:9100', '10.3.35.60:9100', '10.3.35.61:9100', '10.3.35.62:9100', '10.3.35.63:9100', '10.3.35.64:9100', '10.3.35.65:9100', '10.3.35.66:9100', '10.3.35.67:9100']

View File

@@ -26,9 +26,43 @@ scrape_configs:
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['10.4.35.1:9000', '10.4.35.2:9000', '10.4.35.3:9000', '10.4.35.4:9000', '10.4.35.5:9000', '10.4.35.6:9000', '10.4.35.7:9000', '10.4.35.8:9000', '10.4.35.9:9000', '10.4.35.10:9000', '10.4.35.11:9000', '10.4.35.12:9000', '10.4.35.13:9000', '10.4.35.14:9000', '10.4.35.15:9000', '10.4.35.16:9000', '10.4.35.17:9000', '10.4.35.18:9000', '10.4.35.19:9000', '10.4.35.20:9000', '10.4.35.21:9000', '10.4.35.22:9000', '10.4.35.23:9000', '10.4.35.24:9000', '10.4.35.25:9000', '10.4.35.26:9000', '10.4.35.27:9000', '10.4.35.28:9000', '10.4.35.29:9000', '10.4.35.30:9000', '10.4.35.31:9000', '10.4.35.32:9000']
- targets: ['10.4.35.1:9000', '10.4.35.2:9000', '10.4.35.3:9000', '10.4.35.4:9000', '10.4.35.5:9000', '10.4.35.6:9000', '10.4.35.7:9000', '10.4.35.8:9000', '10.4.35.9:9000', '10.4.35.10:9000', '10.4.35.11:9000', '10.4.35.12:9000', '10.4.35.13:9000', '10.4.35.14:9000', '10.4.35.15:9000', '10.4.35.16:9000', '10.4.35.17:9000', '10.4.35.18:9000', '10.4.35.19:9000', '10.4.35.20:9000', '10.4.35.21:9000', '10.4.35.22:9000', '10.4.35.23:9000', '10.4.35.24:9000', '10.4.35.25:9000', '10.4.35.26:9000', '10.4.35.27:9000', '10.4.35.28:9000', '10.4.35.29:9000', '10.4.35.30:9000', '10.4.35.31:9000', '10.4.35.32:9000', '10.4.35.37:9000', '10.4.35.38:9000']
- job_name: "os_astana"
static_configs:
- targets: ['10.4.35.1:9100', '10.4.35.2:9100', '10.4.35.3:9100', '10.4.35.4:9100', '10.4.35.5:9100', '10.4.35.6:9100', '10.4.35.7:9100', '10.4.35.8:9100', '10.4.35.9:9100', '10.4.35.10:9100', '10.4.35.11:9100', '10.4.35.12:9100', '10.4.35.13:9100', '10.4.35.14:9100', '10.4.35.15:9100', '10.4.35.16:9100', '10.4.35.17:9100', '10.4.35.18:9100', '10.4.35.19:9100', '10.4.35.20:9100', '10.4.35.21:9100', '10.4.35.22:9100', '10.4.35.23:9100', '10.4.35.24:9100', '10.4.35.25:9100', '10.4.35.26:9100', '10.4.35.27:9100', '10.4.35.28:9100', '10.4.35.29:9100', '10.4.35.30:9100', '10.4.35.31:9100', '10.4.35.32:9100']
- targets: ['10.4.35.1:9100', '10.4.35.2:9100', '10.4.35.3:9100', '10.4.35.4:9100', '10.4.35.5:9100', '10.4.35.6:9100', '10.4.35.7:9100', '10.4.35.8:9100', '10.4.35.9:9100', '10.4.35.10:9100', '10.4.35.11:9100', '10.4.35.12:9100', '10.4.35.13:9100', '10.4.35.14:9100', '10.4.35.15:9100', '10.4.35.16:9100', '10.4.35.17:9100', '10.4.35.18:9100', '10.4.35.19:9100', '10.4.35.20:9100', '10.4.35.21:9100', '10.4.35.22:9100', '10.4.35.23:9100', '10.4.35.24:9100', '10.4.35.25:9100', '10.4.35.26:9100', '10.4.35.27:9100', '10.4.35.28:9100', '10.4.35.29:9100', '10.4.35.30:9100', '10.4.35.31:9100', '10.4.35.32:9100', '10.4.35.37:9100', '10.4.35.38:9100']
- job_name: 'minio_avlog_astana'
metrics_path: /minio/prometheus/metrics
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['10.4.34.33:9000', '10.4.34.34:9000', '10.4.34.35:9000', '10.4.46.1:9000', '10.4.46.2:9000', '10.4.46.3:9000']
- job_name: "os_avlog_astana"
static_configs:
- targets: ['10.4.34.33:9100', '10.4.34.34:9100', '10.4.34.35:9100', '10.4.46.1:9100', '10.4.46.2:9100', '10.4.46.3:9100']
- job_name: 'minio_filelog_astana'
metrics_path: /minio/prometheus/metrics
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['10.4.35.40:9000', '10.4.35.41:9000', '10.4.35.42:9000', '10.4.35.43:9000', '10.4.35.44:9000', '10.4.35.45:9000', '10.4.35.46:9000', '10.4.35.47:9000', '10.4.35.48:9000']
- job_name: "os_filelog_astana"
static_configs:
- targets: ['10.4.35.40:9100', '10.4.35.41:9100', '10.4.35.42:9100', '10.4.35.43:9100', '10.4.35.44:9100', '10.4.35.45:9100', '10.4.35.46:9100', '10.4.35.47:9100', '10.4.35.48:9100']
- job_name: 'minio_webpz_ncenter'
metrics_path: /minio/prometheus/metrics
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['10.0.7.7:9000','10.0.7.8:9000','10.0.7.9:9000','10.0.7.10:9000']
- job_name: "os_webpz_ncenter"
static_configs:
- targets: ['10.0.7.7:9100','10.0.7.8:9100','10.0.7.9:9100','10.0.7.10:9100']

Binary file not shown.