We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
transaction.data
contexts.trace.data
Relates to getsentry/team-sdks#95 See getsentry/team-sdks#95 (comment) for more details.
extra
data
SentryTransaction
ITransactionTracer
IHasExtra
sentry-dotnet/src/Sentry/SentryTransaction.cs
Line 404 in 7024f37
The current inheritance structure prevents us from correctly mapping:
span.data
Instead of modifying the inheritance structure for transactions and spans (which would be hacky), we should:
SetData
TransactionTracer
SpanTracer
SetExtra
Line 398 in 7024f37
The text was updated successfully, but these errors were encountered:
Span.Data should end up on on context.trace.data too:
context.trace.data
sentry-dotnet/src/Sentry/SpanTracer.cs
Line 88 in 3f63cb6
So we might want to add an Obsolete on SetExtra if that was used to jsut make transaction and span "look alike"
Obsolete
Sorry, something went wrong.
Another thought, since we have:
sentry-dotnet/src/Sentry/SentryContexts.cs
Line 59 in 3f63cb6
We could have Span.Data map to that property
Span.Data
jamescrosswell
No branches or pull requests
Relates to getsentry/team-sdks#95
See getsentry/team-sdks#95 (comment) for more details.
Current Behavior
extra
todata
in our SDKSentryTransaction
, the extra data gets written toextra
. TheITransactionTracer
inherits fromIHasExtra
so this makes sense.sentry-dotnet/src/Sentry/SentryTransaction.cs
Line 404 in 7024f37
Problem
The current inheritance structure prevents us from correctly mapping:
contexts.trace.data
span.data
Proposed Solution
Instead of modifying the inheritance structure for transactions and spans (which would be hacky), we should:
SetData
methods to bothTransactionTracer
andSpanTracer
SetExtra
functionalityTechnical Details
contexts.trace.data
sentry-dotnet/src/Sentry/SentryTransaction.cs
Line 398 in 7024f37
span.data
The text was updated successfully, but these errors were encountered: