Skip to content

Clean up getSpan() log #2865

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

Merged
merged 4 commits into from
Apr 15, 2025
Merged

Clean up getSpan() log #2865

merged 4 commits into from
Apr 15, 2025

Conversation

buenaflor
Copy link
Contributor

@buenaflor buenaflor commented Apr 15, 2025

📜 Description

Lots of our integrations use getSpan and if someone uses multiple integations with performance turned off, this would spam their consoles.

Instead we should opt to document the behaviour in the function docs.

💡 Motivation and Context

Small step towards #2859

Closes #2855

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

Copy link

codecov bot commented Apr 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (temp/8.14.2@5c63e2d). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff               @@
##             temp/8.14.2    #2865   +/-   ##
==============================================
  Coverage               ?   88.90%           
==============================================
  Files                  ?      263           
  Lines                  ?     8963           
  Branches               ?        0           
==============================================
  Hits                   ?     7969           
  Misses                 ?      994           
  Partials               ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@denrase denrase left a comment

Choose a reason for hiding this comment

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

👍

@buenaflor buenaflor merged commit 6226250 into temp/8.14.2 Apr 15, 2025
156 checks passed
@buenaflor buenaflor deleted the chore/getspan-log branch April 15, 2025 13:33
buenaflor added a commit that referenced this pull request Apr 24, 2025
* Fix: Improve platform memory collection on windows/linux (#2798)

* deps: bump Android from `7.22.1` to `7.22.4` (#2810)

* update android deps

* Update CHANGELOG.md

* Fix adding runtime to contexts (#2813)

* Fix CHANGELOG formatting

* release: 8.14.1

* fix: `options.diagnosticLevel` not affecting logs (#2856)

* v9: Set log level to `warning` by default  (#2836)

* update

* update test

* update init native sdk test

* Update CHANGELOG

* Add additional test

* Update CHANGELOG

* Update CHANGELOG

* Update

* Update

* Fix test

* Fix test

* Fix analyze

* Remove prod scheme

* Update mocks

* Update mocks

* Improve performance of frames tracking (#2854)

* Improve performance

* Update tests

* Improve performance

* Formatting

* Separate function

* Remove separate function

* Update

* Improve frames tracking performance

* update naming

* Update

* update

* update

* Edge case

* Update mocks

* formatting

* Improvements

* Analyze

* Update mocks

* Update mocks

* Clean up `getSpan()` log (#2865)

* Remove unnecessary log and document the behaviour

* Typo

* Typo

* Add CHANGELOG entry

* release: 8.14.2

* Update

* Update

---------

Co-authored-by: Denis Andrašec <[email protected]>
Co-authored-by: getsentry-bot <[email protected]>
Co-authored-by: getsentry-bot <[email protected]>
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.

2 participants