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

Add additional data to transactions #763

Merged
merged 3 commits into from
Jan 26, 2021
Merged

Conversation

Tyrrrz
Copy link
Contributor

@Tyrrrz Tyrrrz commented Jan 26, 2021

Closes #762

@Tyrrrz Tyrrrz added Feature New feature or request Sentry labels Jan 26, 2021
@Tyrrrz Tyrrrz requested a review from bruno-garcia as a code owner January 26, 2021 18:15
@Tyrrrz
Copy link
Contributor Author

Tyrrrz commented Jan 26, 2021

@bruno-garcia I made it so it applies scope and adds environment and release. Is that good/sufficient?

@@ -18,6 +18,12 @@ public interface ITransaction : ISpan, ITransactionContext, IEventLike
// 'new' because it adds a setter
new string Name { get; set; }

// Should this be on IEventLike?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah we should bump this so it's available on any Event (transaction or errors)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is currently IEventLike also encompasses Scope, which does not have Release :/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add it, no problem

src/Sentry/Internal/Hub.cs Show resolved Hide resolved
@Tyrrrz Tyrrrz merged commit 6d9083e into main Jan 26, 2021
@Tyrrrz Tyrrrz deleted the set-extra-stuff-on-transactions branch January 26, 2021 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transactions should include all tags from the Scope
2 participants