need to set variable so prometheus metrics are actually shared between worker processes

Matej Vadnjal
2023-06-16 07:29:06 +02:00
parent 86299fc086
commit 939fba87ec

@ -9,6 +9,7 @@ services:
netbox: netbox:
environment: environment:
METRICS_ENABLED: 'true' METRICS_ENABLED: 'true'
prometheus_multiproc_dir: /tmp/metrics
volumes: volumes:
- type: tmpfs - type: tmpfs
target: /tmp/metrics target: /tmp/metrics