🪢 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
perf: add sentry metrics integration (#2002)
Max Deichmannb88809f7e569
diff --git a/web/sentry.server.config.ts b/web/sentry.server.config.tsindex 14cee035f8..be37624bda 100644--- a/web/sentry.server.config.ts+++ b/web/sentry.server.config.ts@@ -28,6 +28,7 @@ if (process.env.NEXT_PUBLIC_SENTRY_DSN)// Add profiling integration to list of integrationsnew ProfilingIntegration(),new Sentry.Integrations.Prisma({ client: prisma }),+ Sentry.metrics.metricsAggregatorIntegration(),],// filter out passwords from the signup request bodydiff --git a/worker/src/app.ts b/worker/src/app.tsindex 84d9af4c55..7b8506e2a3 100644--- a/worker/src/app.ts+++ b/worker/src/app.ts@@ -28,6 +28,7 @@ if (isSentryEnabled) {// enable Express.js middleware tracingnew Sentry.Integrations.Express({ app }),nodeProfilingIntegration(),+ Sentry.metrics.metricsAggregatorIntegration(),],// Performance MonitoringtracesSampleRate: 0.1, // Capture 100% of the transactions