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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

POTEL 4 - Deduplicate SpanInfo extraction #3423

Open
wants to merge 1 commit into
base: feat/potel-3-use-otel-in-sentry-api
Choose a base branch
from

Conversation

adinauer
Copy link
Member

馃摐 Description

Since we can call toSpanData on ReadableSpan we can deduplicate the code in SpanDescriptionExtractor.

馃挕 Motivation and Context

馃挌 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

Fails
馃毇 Please consider adding a changelog entry for the next release.
Messages
馃摉 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- POTEL 4 - Deduplicate `SpanInfo` extraction ([#3423](https://github.com/getsentry/sentry-java/pull/3423))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 馃毇 dangerJS against b3919bd

Copy link
Contributor

Performance metrics 馃殌

Plain With Sentry Diff
Startup time 363.49 ms 430.09 ms 66.60 ms
Size 1.70 MiB 2.28 MiB 596.83 KiB

Baseline results on branch: feat/potel-3-use-otel-in-sentry-api

Startup times

Revision Plain With Sentry Diff
6bfc452 398.25 ms 477.15 ms 78.90 ms
0978e3b 424.86 ms 519.90 ms 95.04 ms

App size

Revision Plain With Sentry Diff
6bfc452 1.70 MiB 2.28 MiB 596.83 KiB
0978e3b 1.70 MiB 2.28 MiB 596.24 KiB

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.

Nice 馃憤

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.

None yet

2 participants