vieter: enable metrics
parent
7bc08a6633
commit
ba63c08305
|
@ -14,7 +14,7 @@ services:
|
|||
- 'node.labels.class == admin'
|
||||
|
||||
configs:
|
||||
- source: prometheus_v7
|
||||
- source: prometheus_v8
|
||||
target: /etc/prometheus/prometheus.yml
|
||||
networks:
|
||||
- 'default'
|
||||
|
@ -82,7 +82,7 @@ services:
|
|||
- '/:/rootfs:ro'
|
||||
|
||||
configs:
|
||||
prometheus_v7:
|
||||
prometheus_v8:
|
||||
external: true
|
||||
|
||||
networks:
|
||||
|
|
|
@ -25,8 +25,10 @@ services:
|
|||
# 1AM UTC+2
|
||||
- 'VIETER_GLOBAL_SCHEDULE=0 23'
|
||||
- 'VIETER_MAX_LOG_AGE=120'
|
||||
- 'VIETER_COLLECT_METRICS=1'
|
||||
networks:
|
||||
- 'public'
|
||||
- 'monitoring'
|
||||
secrets:
|
||||
- vieter_api_key
|
||||
volumes:
|
||||
|
@ -59,6 +61,8 @@ services:
|
|||
networks:
|
||||
public:
|
||||
external: true
|
||||
monitoring:
|
||||
external: true
|
||||
|
||||
secrets:
|
||||
vieter_api_key:
|
||||
|
|
Loading…
Reference in New Issue