setup fluentd prometheus exporter

This commit is contained in:
2018-03-06 17:11:57 -05:00
parent 868e44d3cb
commit 978e2cf56d
10 changed files with 203 additions and 33 deletions

View 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'