Skip to content

feat(o11y)add-sentry#1731

Draft
smeubank wants to merge 1 commit intomainfrom
feat(o11y)add-sentry
Draft

feat(o11y)add-sentry#1731
smeubank wants to merge 1 commit intomainfrom
feat(o11y)add-sentry

Conversation

@smeubank
Copy link

@smeubank smeubank commented Mar 2, 2026

Adds a fast Sentry MVP to Realtime by wiring backend error reporting with request context and lightweight operational captures, while keeping tracing on the existing OpenTelemetry path.

Configuration is env-driven (SENTRY_DSN, SENTRY_ENVIRONMENT, SENTRY_RELEASE) with initial sampling and basic sensitive-data redaction to make early rollout safer.

###Test Plan

  • Trigger a controller error and confirm event appears in Sentry with request context.
  • Send a malformed websocket payload and confirm grouped channel error capture.
  • Enable OTEL exporter and verify trace generation for /healthcheck.
  • start with a very low sample rate

What kind of change does this PR introduce?

feature

What is the current behavior?

no sentry integration

What is the new behavior?

sentry integration

Additional context

based on docs for elixir with phoenix

Adds a fast Sentry MVP to Realtime by wiring backend error reporting with request context and lightweight operational captures, while keeping tracing on the existing OpenTelemetry path.

Configuration is env-driven (SENTRY_DSN, SENTRY_ENVIRONMENT, SENTRY_RELEASE) with initial sampling and basic sensitive-data redaction to make early rollout safer.

###Test Plan
- Trigger a controller error and confirm event appears in Sentry with request context.
- Send a malformed websocket payload and confirm grouped channel error capture.
- Enable OTEL exporter and verify trace generation for /healthcheck.
@coderabbitai
Copy link

coderabbitai bot commented Mar 2, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant