-
-
Notifications
You must be signed in to change notification settings - Fork 448
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
Transactions are missing configured tags #1163
Comments
@dparrella thanks for testing out Performance for the Java SDK :)
If you want to filter out transactions, you could use the About the tags, indeed, we're still discussing which fields should be set to transactions, We want transactions to be cheap so it doesn't make sense to set everything, right. Which fields would be vital for you? thanks. |
@maciejwalkowiak Ideally, we'd need to discuss field per field, what makes sense to be copied over, |
@marandaneto agreed. Since transactions are not a subject of event processing they are also not processed by the |
@marandaneto |
@marandaneto do we consider this issue as critical part for #1151? I can easily add setting tags but perhaps we are going to have field by field guidelines? |
@maciejwalkowiak I'd say that tags are part of the bare min. because of filtering/searching, but still, we'd need to figure out field by field. I guess we could definitely do a PR adding What is left now is the If not super complicated, I'd be sure |
@dparrella would you expect the Scope's tags also to be available under transactions? Scope's tags are those added at runtime via |
Platform:
IDE:
Build system:
Android Gradle Plugin:
Sentry Android Gradle Plugin:
Proguard/R8:
Platform installed with:
The version of the SDK:
4.0.0-alpha.2
I have the following issue:
I've noticed that all transactions are missing tags, including the environment and release. These are configured using
SentryOptions
that we pass in toSentry.init()
. These tags appear on all of our Issues.It also seems like the
SentryBeforeSendCallback
we configure is not called, so it is not possible to work around the issue.We are using the logback and Spring integrations but I am able to reproduce even with just manual calls to send a transaction.
Inspecting the code and setting a breakpoint with a debugger, I can see that
SentryClient.captureTransaction()
has the correctly configured scope, but the transaction has no tags.https://github.com/getsentry/sentry-java/blob/main/sentry/src/main/java/io/sentry/SentryClient.java#L343-L378
Steps to reproduce:
Initialize Sentry:
Send a transaction:
Actual result:
Expected result:
The text was updated successfully, but these errors were encountered: