setup fluentd prometheus exporter
This commit is contained in:
32
dockerfiles/services/prometheus/prometheus.yml
Normal file
32
dockerfiles/services/prometheus/prometheus.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
# 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: glusterfs
|
||||
metrics_path: /metrics
|
||||
scrape_interval: 30s
|
||||
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: 10s
|
||||
scrape_timeout: 9s
|
||||
static_configs:
|
||||
- targets:
|
||||
- 'fluentd_exporter:9309'
|
||||
Reference in New Issue
Block a user