add picture gallery container

update prometheus/grafana to be persistent, and have more collectors
This commit is contained in:
2018-07-15 11:12:48 -04:00
parent 1f05ea4fba
commit 1e4a882f8d
6 changed files with 123 additions and 21 deletions

View File

@@ -14,6 +14,11 @@ global:
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
static_configs:
- targets: ['prometheus:9090']
- job_name: glusterfs
metrics_path: /metrics
scrape_interval: 120s
@@ -30,3 +35,27 @@ scrape_configs:
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'