make Metrics Collector Class and auto send to redis when change happend
Build and Push Docker Container / build-and-push (push) Successful in 1m0s

This commit is contained in:
2026-04-04 14:52:21 +02:00
parent c3da096320
commit 47051a6068
3 changed files with 275 additions and 227 deletions
+3
View File
@@ -13,6 +13,9 @@ class MetricsManager:
key_prefix=key_prefix,
)
async def publish_only(self, snapshot:dict) -> None:
await self.store.publish(self.worker_id, snapshot)
async def snapshot(self, local_snapshot:dict) -> dict:
await self.store.publish(self.worker_id, local_snapshot)