make Metrics Collector Class and auto send to redis when change happend
Build and Push Docker Container / build-and-push (push) Successful in 1m0s
Build and Push Docker Container / build-and-push (push) Successful in 1m0s
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user