Observability

Sentry, PostHog, Langfuse, and Phoenix hooks for errors, product analytics, and LLM traces.

Sentry, PostHog, Langfuse, and Phoenix hooks for errors, product analytics, and LLM traces.

Sentry

  • NEXT_PUBLIC_SENTRY_DSN and SENTRY_DSN for client and server.
  • SENTRY_TRACES_SAMPLE_RATE controls performance sampling (default 0.1).
  • Configured in apps/web/sentry.*.config.ts and instrumentation.

PostHog

  • NEXT_PUBLIC_POSTHOG_KEY and NEXT_PUBLIC_POSTHOG_HOST for product analytics.
  • POSTHOG_API_KEY for server-side capture when needed.
  • Events wired via packages/observability and canonical hooks.

LLM traces

  • Langfuse: LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_BASE_URL.
  • Phoenix/Arize: PHOENIX_* vars for OpenInference tracing and evals.
  • PHOENIX_LLM_EVAL=1 runs judge evals after completed audits (requires GEMINI_API_KEY).

Verify stack

Canonical SDK readiness
node scripts/canonical/verify-stack.ts

View source on GitHub

Related links

Announcement updates version release today!

ReleasesPrivacy
Terms