🪢 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: enable sentry replays (#7498)
Nimaref08a514af8d
diff --git a/web/sentry.client.config.ts b/web/sentry.client.config.tsindex 9e8bc7c13d..34ad1be294 100644--- a/web/sentry.client.config.ts+++ b/web/sentry.client.config.ts@@ -1,5 +1,7 @@import * as Sentry from "@sentry/nextjs";+const isEuOrUsRegionNonHipaa = process.env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION !== undefined ? ["EU", "US"].includes(process.env.NEXT_PUBLIC_LANGFUSE_CLOUD_REGION) : false;+Sentry.init({dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,@@ -7,7 +9,10 @@ Sentry.init({// Replay may only be enabled for the client-sideintegrations: [- Sentry.replayIntegration(),+ Sentry.replayIntegration({+ maskAllText: !isEuOrUsRegionNonHipaa,+ blockAllMedia: !isEuOrUsRegionNonHipaa,+ }),Sentry.browserTracingIntegration(),Sentry.httpClientIntegration(),// Sentry.debugIntegration(),