Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

before-send-fn not being executed during tracing events #47

Open
ianmuge opened this issue Jun 2, 2022 · 0 comments
Open

before-send-fn not being executed during tracing events #47

ianmuge opened this issue Jun 2, 2022 · 0 comments

Comments

@ianmuge
Copy link

ianmuge commented Jun 2, 2022

Environment

How do you use Sentry?
Sentry SaaS (sentry.io) or self-hosted/on-premise (which version?)
self-hosted

Which SDK and version?
e.g: JavaScript 5.11.1, .NET 1.2.0
[io.sentry/sentry-clj "5.7.180"]
[io.sentry/sentry "5.7.4"]

Steps to Reproduce

on the init function

:before-send-fn (fn [event _] (.setServerName event "fred") event)

tracing events still don't have the servername modified

Expected Result

When the before send function is set in the initialisation step it should be considered for all tracing and exception events, in this simple case setting the server name as "fred"

Actual Result

The event is not modified for tracing events

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

No branches or pull requests

1 participant