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