Configuration

global:
  scrape_interval: 15s
  scrape_timeout: 15s
  evaluation_interval: 15s
alerting:
  alertmanagers:
  - static_configs:
    - targets:
      - 209.58.168.56:9093
    scheme: http
    timeout: 10s
    api_version: v1
rule_files:
- /etc/prometheus/alert.rules
scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9090
- job_name: node
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 15s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 103.254.153.160:9100
    - 209.58.168.56:9100
    - 209.58.173.131:9100
    - 209.58.183.206:9100
    - 209.58.175.41:9100
    - 209.58.171.197:9100
    - 23.106.252.105:9100
    - 23.108.98.2:9100
    - 209.58.175.65:9100
    - 209.58.175.66:9100
    - 209.58.168.110:9100
    - 23.106.52.200:9100
    - 23.106.54.68:9100
    - 23.106.54.69:9100
    - 23.106.54.70:9100
    - 10.28.5.18:9100
    - 10.28.5.19:9100
    - 10.28.5.20:9100
    - 10.28.5.21:9100
- job_name: mongo
  honor_timestamps: true
  scrape_interval: 10s
  scrape_timeout: 5s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 10.28.5.2:9002
    - 10.28.5.3:9001
    - 10.28.5.4:9001
    - 10.28.5.8:9001
    - 10.28.5.1:9001
    - 10.28.5.1:9002
    - 10.28.5.6:9001
    - 10.28.5.6:9002
- job_name: redis
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 15s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 10.28.5.1:9221
    - 10.28.5.2:9121
    - 10.28.5.3:9121
    - 10.28.5.4:9121
    - 10.28.5.5:9121
    - 10.28.5.6:9129
    - 10.28.5.14:9121
    - 10.28.5.15:9121
    - 10.28.5.16:9121
- job_name: haproxy
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 15s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 209.58.168.56:9101
    - 209.58.168.56:9102
    - 209.58.168.56:9103
    - 209.58.168.56:9104
    - 209.58.168.56:9105
    - 209.58.168.56:9106
    - 209.58.168.56:9107
    - 209.58.168.56:9108
    - 209.58.168.56:9109
    - 209.58.168.56:9110
    - 209.58.168.56:9111
    - 209.58.168.56:9112
    - 209.58.168.56:9125
    - 209.58.168.56:9126
    - 209.58.168.56:9115
    - 209.58.168.56:9116
    - 209.58.168.56:9117
    - 209.58.168.56:9118
    - 209.58.168.56:9119
    - 209.58.168.56:9120
    - 209.58.168.56:9121
    - 209.58.168.56:9127
    - 209.58.168.56:9123
    - 209.58.168.56:9124
    - 209.58.168.56:9225
    - 209.58.168.56:9226
    - 209.58.168.56:9227
    - 209.58.168.56:9228
    - 209.58.168.56:9229
    - 209.58.168.56:9230
    - 209.58.168.56:9231
    - 209.58.168.56:9232
    - 103.254.153.160:9101
    - 103.254.153.160:9102
    - 103.254.153.160:9103
    - 103.254.153.160:9104
    - 103.254.153.160:9105
    - 103.254.153.160:9106
    - 103.254.153.160:9107
    - 103.254.153.160:9108
    - 103.254.153.160:9109
    - 103.254.153.160:9110
    - 103.254.153.160:9111
    - 103.254.153.160:9112
    - 103.254.153.160:9113
    - 103.254.153.160:9114
    - 103.254.153.160:9115
    - 103.254.153.160:9116
    - 103.254.153.160:9117
    - 103.254.153.160:9118
    - 103.254.153.160:9119
    - 103.254.153.160:9120
    - 103.254.153.160:9121
    - 103.254.153.160:9122
    - 103.254.153.160:9123
    - 103.254.153.160:9124
    - 103.254.153.160:9125
    - 103.254.153.160:9126
    - 103.254.153.160:9127
    - 103.254.153.160:9128
    - 103.254.153.160:9129
    - 103.254.153.160:9130
    - 103.254.153.160:9131
    - 103.254.153.160:9132
    - 209.58.171.197:9101
    - 209.58.171.197:9103
    - 209.58.171.197:9104
    - 209.58.171.197:9105
    - 209.58.171.197:9107
    - 209.58.171.197:9108
    - 209.58.171.197:9109
    - 209.58.171.197:9110
    - 209.58.171.197:9111
    - 209.58.171.197:9112
    - 209.58.171.197:9113
    - 209.58.171.197:9114
    - 209.58.171.197:9115
    - 209.58.171.197:9127
    - 209.58.171.197:9115
    - 209.58.171.197:9116
    - 209.58.171.197:9117
    - 209.58.171.197:9128
    - 209.58.171.197:9119
    - 209.58.171.197:9120
    - 209.58.171.197:9121
    - 209.58.171.197:9122
    - 209.58.171.197:9123
    - 209.58.171.197:9124
    - 209.58.171.197:9225
    - 209.58.171.197:9226
    - 209.58.171.197:9227
    - 209.58.171.197:9228
    - 209.58.171.197:9229
    - 209.58.171.197:9230
    - 209.58.171.197:9231
    - 209.58.171.197:9232
    - 23.108.98.2:9101
    - 23.108.98.2:9102
    - 23.108.98.2:9103
    - 23.108.98.2:9104
    - 23.108.98.2:9105
    - 23.108.98.2:9106
    - 23.108.98.2:9107
    - 23.108.98.2:9108
    - 23.108.98.2:9109
    - 23.108.98.2:9110
    - 23.108.98.2:9111
    - 23.108.98.2:9112
    - 23.108.98.2:9113
    - 23.108.98.2:9114
    - 23.108.98.2:9115
    - 23.108.98.2:9116
    - 23.108.98.2:9117
    - 23.108.98.2:9118
    - 23.108.98.2:9119
    - 23.108.98.2:9120
    - 23.108.98.2:9121
    - 23.108.98.2:9122
    - 23.108.98.2:9123
    - 23.108.98.2:9124
    - 23.108.98.2:9125
    - 23.108.98.2:9126
    - 23.108.98.2:9127
    - 23.108.98.2:9128
    - 23.108.98.2:9129
    - 23.108.98.2:9130
    - 23.108.98.2:9131
    - 23.108.98.2:9132
    - 43.249.38.89:9101
    - 43.249.38.89:9102
    - 43.249.38.89:9103
    - 43.249.38.89:9104
    - 43.249.38.89:9105
    - 43.249.38.89:9106
    - 43.249.38.89:9107
    - 43.249.38.89:9108
    - 43.249.38.89:9109
    - 43.249.38.89:9110
    - 43.249.38.89:9111
    - 43.249.38.89:9112
    - 43.249.38.89:9113
    - 43.249.38.89:9114
    - 43.249.38.89:9115
    - 43.249.38.89:9116
    - 43.249.38.89:9117
    - 43.249.38.89:9118
    - 43.249.38.89:9119
    - 43.249.38.89:9120
    - 43.249.38.89:9121
    - 43.249.38.89:9122
    - 43.249.38.89:9123
    - 43.249.38.89:9124
    - 43.249.38.89:9125
    - 43.249.38.89:9126
    - 43.249.38.89:9127
    - 43.249.38.89:9128
    - 43.249.38.89:9129
    - 43.249.38.89:9130
    - 43.249.38.89:9131
    - 43.249.38.89:9132
    - 43.249.38.110:9101
    - 43.249.38.110:9102
    - 43.249.38.110:9103
    - 43.249.38.110:9104
    - 43.249.38.110:9105
    - 43.249.38.110:9106
    - 43.249.38.110:9107
    - 43.249.38.110:9108
    - 43.249.38.110:9109
    - 43.249.38.110:9110
    - 43.249.38.110:9111
    - 43.249.38.110:9112
    - 43.249.38.110:9113
    - 43.249.38.110:9114
    - 43.249.38.110:9115
    - 43.249.38.110:9116
    - 43.249.38.110:9117
    - 43.249.38.110:9118
    - 43.249.38.110:9119
    - 43.249.38.110:9120
    - 43.249.38.110:9121
    - 43.249.38.110:9122
    - 43.249.38.110:9123
    - 43.249.38.110:9124
    - 43.249.38.110:9125
    - 43.249.38.110:9126
    - 43.249.38.110:9127
    - 43.249.38.110:9128
    - 43.249.38.110:9129
    - 43.249.38.110:9130
    - 43.249.38.110:9131
    - 43.249.38.110:9132
    - 209.58.168.110:9201
    - 209.58.168.110:9202
    - 209.58.168.110:9203
    - 209.58.168.110:9204
- job_name: cassandra
  honor_timestamps: true
  scrape_interval: 40s
  scrape_timeout: 30s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 209.58.175.41:7070
    - 23.106.252.105:7070
    - 209.58.175.65:7070
    - 209.58.175.66:7070
    - 209.58.168.110:7070
    - 23.106.52.200:7070
    - 23.106.54.68:7070
    - 23.106.54.69:7070
    - 23.106.54.70:7070
- job_name: kafka
  honor_timestamps: true
  scrape_interval: 1m
  scrape_timeout: 30s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 10.28.5.1:9308
    - 10.28.5.2:9308
    - 10.28.5.5:9308
- job_name: elasticsearch
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 15s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 10.28.5.5:9008
- job_name: logstash
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 15s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 10.28.5.1:9198
    - 10.28.5.1:9199
    - 10.28.5.2:9198
    - 10.28.5.5:9198
- job_name: zookeeper
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 15s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 10.28.5.1:9214
    - 10.28.5.2:9114
    - 10.28.5.5:9114
- job_name: rabbitmq
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 15s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 10.28.5.1:15692
- job_name: blackbox
  honor_timestamps: true
  params:
    module:
    - http_2xx
  scrape_interval: 15s
  scrape_timeout: 15s
  metrics_path: /probe
  scheme: http
  static_configs:
  - targets:
    - http://10.28.5.2:4301
    - http://172.18.0.3:5555
    - http://172.18.0.4:5555
    - http://172.18.0.5:5555
    - http://172.18.0.6:5555
    - http://172.18.0.7:5555
    - https://taiwangogo.pincheesecake.com
  relabel_configs:
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    target_label: __param_target
    replacement: $1
    action: replace
  - source_labels: [__param_target]
    separator: ;
    regex: (.*)
    target_label: instance
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: __address__
    replacement: 10.28.5.2:9115
    action: replace