mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-08 06:05:47 +02:00
vieter: enable metrics
This commit is contained in:
parent
7bc08a6633
commit
ba63c08305
2 changed files with 6 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue