-
Notifications
You must be signed in to change notification settings - Fork 93
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(spans): Ignore more spans for the DB module #2522
Conversation
relay-server/src/actors/processor.rs
Outdated
@@ -2283,6 +2284,8 @@ impl EnvelopeProcessorService { | |||
.project_state | |||
.has_feature(Feature::SpanMetricsExtractionAllModules); | |||
|
|||
let op_denylist = HashSet::from(["clickhouse", "mongodb", "redis", "activerecord"]); |
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.
This constructs a data structure for static data in every run. Instead of this, you could make this a function that uses match
to check for the four allowed values.
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.
I ended up refactoring the conditions so it's just code. Let me know if that's better.
* master: fix(spans): Handle ActiveRecord official and custom spelling (#2525) feat(spans): Update db table extraction to add comma separators (#2521) fix(profiling): Remove profile ID from transaction context if no profile is found in the envelope (#2523) feat(spans): Ignore more spans for the DB module (#2522) release: 23.9.1 release: 23.9.0 fix(spans): Add a description to the segment as well (#2512) fix(spans): Filter DB spans for MongDB queries (#2520)
We've found more problematic spans we'd like to ignore as our grouping gets better.
https://www.notion.so/sentry/Problematic-Projects-During-Database-View-V0-Rollout-463d6f3f1f3d47baa127c97cf0e56716