71 lines
1.3 KiB
YAML
71 lines
1.3 KiB
YAML
---
|
|
# Prometheus config file
|
|
|
|
# my global config
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 30s
|
|
# scrape_timeout is set to the global default (10s).
|
|
|
|
external_labels:
|
|
monitor: test
|
|
foo: bar
|
|
|
|
|
|
scrape_configs:
|
|
|
|
- job_name: 'prometheus'
|
|
scrape_interval: 5s
|
|
static_configs:
|
|
- targets: ['prometheus:9090']
|
|
|
|
- job_name: glusterfs
|
|
metrics_path: /metrics
|
|
scrape_interval: 120s
|
|
scrape_timeout: 14s
|
|
static_configs:
|
|
- targets:
|
|
- 'cubox-i.xai-corp.net:9189'
|
|
# - 'home.xai-corp.net:9189'
|
|
|
|
- job_name: fluentd
|
|
metrics_path: /metrics
|
|
scrape_interval: 60s
|
|
scrape_timeout: 9s
|
|
static_configs:
|
|
- targets:
|
|
- 'fluentd_exporter:9309'
|
|
|
|
- job_name: node
|
|
metrics_path: /metrics
|
|
scrape_interval: 60s
|
|
scrape_timeout: 9s
|
|
static_configs:
|
|
- targets:
|
|
- 'node_exporter:9100'
|
|
|
|
- job_name: postresql
|
|
metrics_path: /metrics
|
|
scrape_interval: 60s
|
|
scrape_timeout: 9s
|
|
static_configs:
|
|
- targets:
|
|
- 'postgres_exporter:9187'
|
|
|
|
- job_name: statsd
|
|
metrics_path: /metrics
|
|
scrape_interval: 60s
|
|
scrape_timeout: 9s
|
|
static_configs:
|
|
- targets:
|
|
- 'statsd_exporter:9102'
|
|
|
|
- job_name: jenkins
|
|
metrics_path: '/prometheus'
|
|
scrape_interval: 60s
|
|
scrape_timeout: 9s
|
|
scheme: https
|
|
static_configs:
|
|
- targets:
|
|
- 'jenkins.xai-corp.net'
|