🪢 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
fix(otel): reduce Prisma OTEL span noise via ignoreSpanTypes (#12638)
Steffen Schmitz013986d5f1ca
diff --git a/web/src/observability.config.ts b/web/src/observability.config.tsindex e5fa22c811..c5fa632685 100644--- a/web/src/observability.config.ts+++ b/web/src/observability.config.ts@@ -53,7 +53,15 @@ const sdk = new NodeSDK({span.setAttribute("http.route", path);},}),- new PrismaInstrumentation(),+ new PrismaInstrumentation({+ ignoreSpanTypes: [+ "prisma:client:serialize",+ "prisma:engine:query",+ "prisma:engine:connection",+ "prisma:engine:serialize",+ "prisma:engine:response_json_serialization",+ ],+ }),new AwsInstrumentation(),new WinstonInstrumentation({ disableLogSending: true }),new BullMQInstrumentation({ useProducerSpanAsConsumerParent: true }),diff --git a/worker/src/instrumentation.ts b/worker/src/instrumentation.tsindex 6944cf1741..4ce431f778 100644--- a/worker/src/instrumentation.ts+++ b/worker/src/instrumentation.ts@@ -53,7 +53,15 @@ const sdk = new NodeSDK({},}),new ExpressInstrumentation(),- new PrismaInstrumentation(),+ new PrismaInstrumentation({+ ignoreSpanTypes: [+ "prisma:client:serialize",+ "prisma:engine:query",+ "prisma:engine:connection",+ "prisma:engine:serialize",+ "prisma:engine:response_json_serialization",+ ],+ }),new AwsInstrumentation(),new WinstonInstrumentation({ disableLogSending: true }),new BullMQInstrumentation({ useProducerSpanAsConsumerParent: true }),