#Configuring session replays with Elixir

6 messages · Page 1 of 1 (latest)

clever locust
#

Hi,

I've got Sentry running in prod for my Elixir LiveView web app.
We tend to burn through our session replays quite quickly so wanted to drop the sample rate for non-errors

I can find how to set it up for Javascript: https://docs.sentry.io/platforms/javascript/session-replay
But was hoping to get some insight into how best to do it with Elixir since the SDK doesn't mention it.

Thanks!

Learn how to enable Session Replay in your app if it is not already set up.

hybrid delta
#

If you're adding the Sentry SDK via the Browser SDK replaysSessionSampleRate would help you drop the sample rate for non-error sessions.

clever locust
#

Hey @hybrid delta
Thanks for the reply!
I've got the Sentry Elixir SDK setup - not the Browser SDK - and I believe having both causes issues
Since this is quite Elixir specific maybe I'll raise an issue in the GitHub: https://github.com/getsentry/sentry-elixir/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen

But if there's anywhere better to ask please let me know 🙂

GitHub

The official Elixir SDK for Sentry (sentry.io). Contribute to getsentry/sentry-elixir development by creating an account on GitHub.

hybrid delta
#

Raised with our team internally, will keep you posted!

clever locust
#

Awesome, thanks @hybrid delta !
Have a great weekend

rigid snow
#

Since this is quite Elixir specific maybe I'll raise an issue in the GitHub
@clever locust if this is Elixir specific, please raise an issue on GitHub, thanks a bunch