-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
feat(performance): Sync activerecord and net-http span names #1681
Conversation
…o work with discover slow ops dashboards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the current accepted span operation prefixes: https://github.com/getsentry/sentry/blob/809b7fe54c6f06cc1e4c503cf83ded896472a011/src/sentry/projectoptions/defaults.py#L74
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! Can you also add a changelog entry for it?
@sl0thentr0py sorry I missed one thing: perhaps we can also add |
Codecov Report
@@ Coverage Diff @@
## master #1681 +/- ##
==========================================
+ Coverage 98.37% 98.39% +0.01%
==========================================
Files 136 136
Lines 7830 7833 +3
==========================================
+ Hits 7703 7707 +4
+ Misses 127 126 -1
Continue to review full report at Codecov.
|
Yea I added those then removed it because I wasn't able to make it clean. The db one works with prefixes, if we go with a prefix for views it'll look like Nicer would be |
nvm I just added the prefix, it's not the nicest looking with repetition but it's fine for now.. |
Since it's to support a feature, I think the duplication is fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feature! I'll put this to 5.1.0
release, which will be released soon after 5.0
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
* master: feat(performance): Sync activerecord and net-http span names (getsentry#1681) Register Sentry's ErrorSubscriber for Rails 7.0+ apps (getsentry#1705) Support serializing ActiveRecord job arguments in global id form (getsentry#1688) release: 5.0.2 Fix report_after_job_retries's decision logic (getsentry#1704) Followup of getsentry#1701 (getsentry#1703) Capture transaction tags (getsentry#1701)
The span prefixes are needed as documented here for the discover slow ops dashboards to be populated successfully.
Note that this won't break any existing user queries since we currently don't allow filtering/searching by span ops.
Fixes #1674