-
Notifications
You must be signed in to change notification settings - Fork 92
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(profiling): Add a profile data category and count profiles in an envelope to apply rate limits #1259
Conversation
@@ -103,7 +103,7 @@ fn infer_event_category(item: &Item) -> Option<DataCategory> { | |||
ItemType::MetricBuckets => None, | |||
ItemType::FormData => None, | |||
ItemType::UserReport => None, | |||
ItemType::Profile => None, | |||
ItemType::Profile => Some(DataCategory::Profile), |
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.
Profiles aren't events, so infer_event_category
should not return something here.
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.
Good to go, thank you!
Final ask, when you patch up the changelog, could you please also drop the same line in |
…ory as profile is not an event
ea63f1b
to
64b4469
Compare
* master: feat(sampling): Support custom tags and more contexts (#1268) deps: Update symbolic to pull in Unreal parser fixes (#1266) Bring in CLA Lite (#1257) release: 0.8.11 ref(profiling): Normalize all profiles (#1250) feat(profiling): Add a profile data category and count profiles in an envelope to apply rate limits (#1259) fix: Raise a new InvalidCompression Outcome for invalid Unreal compression (#1237) chore: Update logo for dark or light theme (#1262) ref: Use Duration to compute breakdowns and span durations (#1260)
This PR aims to add the necessary code to count and apply rate limits to profiles. Right now, we don't want to apply any as we're in beta but we'd like to be ready for when we'd want to rate limit.
Ref #1258