🪢 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
chore(worker): add counter metrics for blob export bytes (LFE-10442) (#14442)
Niklas Semmler2a0625e24631
diff --git a/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts b/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.tsindex 6ac5bd4813..475f8d818e 100644--- a/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts+++ b/worker/src/features/blobstorage/handleBlobStorageIntegrationProjectJob.ts@@ -564,6 +564,24 @@ const processBlobStorageExport = async (config: {projectId: config.projectId,});+ const byteTags = {+ table: config.table,+ projectId: config.projectId,+ path: passthroughEligible ? "passthrough" : "standard",+ };+ recordIncrement(+ "langfuse.blob_export.serialized_bytes",+ serializedCounter.bytes,+ byteTags,+ );+ if (compressedCounter && gzipStats) {+ recordIncrement(+ "langfuse.blob_export.compressed_bytes",+ compressedCounter.bytes,+ { ...byteTags, gzipLevel: gzipStats.level },+ );+ }+logger.info(`[BLOB INTEGRATION] Successfully exported ${config.table} for project ${config.projectId}: ` +`jobId=${config.bullmqJobId} attemptsMade=${config.bullmqAttemptsMade} host=${WORKER_HOST_ID} ` +