Configuration
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
scrape_configs:
- job_name: prometheus
scrape_interval: 5s
scrape_timeout: 5s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9090
- job_name: pushgateway
honor_labels: true
scrape_interval: 5s
scrape_timeout: 5s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- pushgateway:9091
- job_name: node_exporter
scrape_interval: 10s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- node5.bloggersdelight.dk:9100
- node11.bloggersdelight.dk:9100
- node18.bloggersdelight.dk:9100
- node19.bloggersdelight.dk:9100
- node15.bloggersdelight.dk:9100
- node20.bloggersdelight.dk:9100
- node21.bloggersdelight.dk:9100
- node22.bloggersdelight.dk:9100
- node23.bloggersdelight.dk:9100
- imageserver.bloggersdelight.dk:9100
- replication.bloggersdelight.dk:9100
relabel_configs:
- source_labels: [__address__]
separator: ;
regex: (.+?)\.bloggersdelight\.dk:[0-9]{4,4}
target_label: instance
replacement: ${1}
action: replace
- job_name: nginx_scale
scrape_interval: 10s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- node15.bloggersdelight.dk:9113
labels:
instance: nginx_scale
- job_name: nginx_assets
scrape_interval: 10s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- node15.bloggersdelight.dk:9114
labels:
instance: nginx_assets
- job_name: nginx_tracking
scrape_interval: 10s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- node15.bloggersdelight.dk:9115
labels:
instance: nginx_tracking
- job_name: masterdb
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- imageserver.bloggersdelight.dk:9104
labels:
instance: masterdb
- job_name: masterdb-slave
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- imageserver.bloggersdelight.dk:9108
labels:
instance: masterdb-slave
- job_name: masterglobal
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- imageserver.bloggersdelight.dk:9105
labels:
instance: masterglobal
- job_name: masterglobal-slave
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- imageserver.bloggersdelight.dk:9107
labels:
instance: masterglobal-slave
- job_name: trackingmaster
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- imageserver.bloggersdelight.dk:9106
labels:
instance: trackingmaster
- job_name: trackingslave
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- imageserver.bloggersdelight.dk:9109
labels:
instance: trackingslave
- job_name: varnish
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- imageserver.bloggersdelight.dk:9131
labels:
instance: varnish
- job_name: redis
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- imageserver.bloggersdelight.dk:9121
labels:
instance: redis