🪢 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: default-disable mutation-monitor & leaner defaults (#10578)
Valery Meleshkin4507e3e7676f
diff --git a/worker/src/env.ts b/worker/src/env.tsindex c541471b43..fe6bf4615e 100644--- a/worker/src/env.ts+++ b/worker/src/env.ts@@ -298,7 +298,7 @@ const EnvSchema = z.object({.default(120_000), // 2 minutes// ClickHouse mutation monitoring- LANGFUSE_MUTATION_MONITOR_ENABLED: z.enum(["true", "false"]).default("true"),+ LANGFUSE_MUTATION_MONITOR_ENABLED: z.enum(["true", "false"]).default("false"),LANGFUSE_MUTATION_MONITOR_CHECK_INTERVAL_MS: z.coerce.number().positive()@@ -306,7 +306,7 @@ const EnvSchema = z.object({LANGFUSE_DELETION_MUTATIONS_MAX_COUNT: z.coerce.number().positive()- .default(30),+ .default(15),LANGFUSE_DELETION_MUTATIONS_SAFE_COUNT: z.coerce.number().positive()diff --git a/worker/src/features/mutation-monitoring/mutationMonitor.ts b/worker/src/features/mutation-monitoring/mutationMonitor.tsindex 1ce263f9c3..27779fcf24 100644--- a/worker/src/features/mutation-monitoring/mutationMonitor.ts+++ b/worker/src/features/mutation-monitoring/mutationMonitor.ts@@ -82,6 +82,8 @@ export class MutationMonitor {private static async checkMutationsAndScheduleNext(): Promise<void> {try {await this.checkMutations();+ } catch (error) {+ logger.error("Unexpected error in mutation monitoring loop", error);} finally {// Always schedule next check, even if current check failedthis.scheduleNextCheck();