summaryrefslogtreecommitdiff
path: root/services/data-collector
diff options
context:
space:
mode:
Diffstat (limited to 'services/data-collector')
-rw-r--r--services/data-collector/src/data_collector/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/data-collector/src/data_collector/main.py b/services/data-collector/src/data_collector/main.py
index 170e8b1..81e13df 100644
--- a/services/data-collector/src/data_collector/main.py
+++ b/services/data-collector/src/data_collector/main.py
@@ -49,7 +49,7 @@ async def run() -> None:
on_candle=on_candle,
)
- health = HealthCheckServer("data-collector", port=config.health_port)
+ health = HealthCheckServer("data-collector", port=config.health_port, auth_token=config.metrics_auth_token)
health.register_check("redis", broker.ping)
await health.start()
metrics.service_up.labels(service="data-collector").set(1)