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

POTEL 37b - No longer selectively copy OTel span attributes #3663

Merged
merged 11 commits into from
Sep 3, 2024

Conversation

adinauer
Copy link
Member

📜 Description

We're copying all of attribues as of (#3593). This means we no longer need to selectively copy some of them.

💡 Motivation and Context

Remove unnecessary code.

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Copy link
Contributor

github-actions bot commented Aug 28, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against dc91b84

Copy link
Contributor

github-actions bot commented Aug 28, 2024

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 453.72 ms 483.76 ms 30.03 ms
Size 1.70 MiB 2.29 MiB 599.45 KiB

Previous results on branch: feat/potel-37b-remove-selective-attribute-copying

Startup times

Revision Plain With Sentry Diff
bfc2f88 456.92 ms 530.96 ms 74.04 ms
9294b06 438.15 ms 502.29 ms 64.15 ms
33d3c1b 349.24 ms 358.60 ms 9.36 ms

App size

Revision Plain With Sentry Diff
bfc2f88 1.70 MiB 2.29 MiB 599.45 KiB
9294b06 1.70 MiB 2.29 MiB 599.31 KiB
33d3c1b 1.70 MiB 2.29 MiB 599.45 KiB

Base automatically changed from feat/POTEL-37-add-attributes-to-span-data to 8.x.x September 2, 2024 09:23
An error occurred while trying to automatically change base from feat/POTEL-37-add-attributes-to-span-data to 8.x.x September 2, 2024 09:23
@@ -21,35 +19,6 @@ public final class SpanDescriptionExtractor {
@SuppressWarnings("deprecation")
public @NotNull OtelSpanInfo extractSpanInfo(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the TODO above this method still relevant?

CHANGELOG.md Outdated
@@ -13,6 +13,7 @@
- Use OpenTelemetry span name as fallback for transaction name ([#3557](https://github.com/getsentry/sentry-java/pull/3557))
- In certain cases we were sending transactions as "<unlabeled transaction>" when using OpenTelemetry
- Add OpenTelemetry span data to Sentry span ([#3593](https://github.com/getsentry/sentry-java/pull/3593))
- No longer selectively copy OpenTelemetry attributes to Sentry spans `data` ([#3663](https://github.com/getsentry/sentry-java/pull/3663))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we also include the fact, that we no longer set the span data on the transaction data?

Copy link
Collaborator

@lbloder lbloder left a comment

Choose a reason for hiding this comment

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

LGTM

@adinauer adinauer merged commit 7ad44b4 into 8.x.x Sep 3, 2024
22 checks passed
@adinauer adinauer deleted the feat/potel-37b-remove-selective-attribute-copying branch September 3, 2024 10:28
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

Successfully merging this pull request may close these issues.

3 participants