this repo has no description

fix broken metrics

+2 -2
+1 -1
indexer.py
··· 253 253 except Exception as e: 254 254 logger.error(f"Failed to handle event: {e}") 255 255 finally: 256 - prom_metrics.events_handled.labels(kind=kind, status=status) 256 + prom_metrics.events_handled.labels(kind=kind, status=status).inc() 257 257 258 258 async def run(self): 259 259 self.consumer = AIOKafkaConsumer(
+1 -1
metrics.py
··· 34 34 ) 35 35 36 36 self.insert_duration = Histogram( 37 - name="embedding_duration_seconds", 37 + name="insert_duration_seconds", 38 38 namespace=NAMESPACE, 39 39 buckets=( 40 40 0.001,