summaryrefslogtreecommitdiff
path: root/services/data-collector/src/data_collector
diff options
context:
space:
mode:
Diffstat (limited to 'services/data-collector/src/data_collector')
-rw-r--r--services/data-collector/src/data_collector/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/data-collector/src/data_collector/main.py b/services/data-collector/src/data_collector/main.py
index 81e13df..4384985 100644
--- a/services/data-collector/src/data_collector/main.py
+++ b/services/data-collector/src/data_collector/main.py
@@ -49,7 +49,9 @@ async def run() -> None:
on_candle=on_candle,
)
- health = HealthCheckServer("data-collector", port=config.health_port, auth_token=config.metrics_auth_token)
+ 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)