🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
infra: add ingestion pipeline processing time (#2965)
Max Deichmann7c8a30d48f01
diff --git a/worker/src/queues/legacyIngestionQueue.ts b/worker/src/queues/legacyIngestionQueue.tsindex 14e6c14d87..f547a326c2 100644--- a/worker/src/queues/legacyIngestionQueue.ts+++ b/worker/src/queues/legacyIngestionQueue.ts@@ -32,6 +32,7 @@ export const legacyIngestionExecutor = redis},async () => {try {+ const startTime = Date.now();logger.info(`Processing legacy ingestion for payload ${JSON.stringify(job.data.payload)}`);@@ -70,6 +71,11 @@ export const legacyIngestionExecutor = redisreturn count;}).catch();+ recordHistogram(+ "legacy_ingestion_processing_time",+ Date.now() - startTime,+ { unit: "milliseconds" }+ );} catch (e) {logger.error(e,