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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mini-relay] ignore unclassifiable metric_meta envelopes as well #398

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

asottile-sentry
Copy link
Collaborator

@asottile-sentry asottile-sentry commented Feb 12, 2024

this should allow us to re-enable the check here

ideally tags would be forwarded along with metric_meta and statsd and then these could get classified 🤔

@asottile-sentry asottile-sentry changed the title ignore unclassifiable metric_meta envelopes as well [mini-relay] ignore unclassifiable metric_meta envelopes as well Feb 12, 2024
Copy link
Collaborator

@realkosty realkosty left a comment

Choose a reason for hiding this comment

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

🚀

def is_unclassifiable(self) -> bool:
return all(
item.header_type in {
'session', 'sessions',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Having a crash-free-rate is not a critical requirement but nice to have in the long run.
I wonder if we can simulate it without capturing real sessions... after all in demo org it's OK if it doesn't match errors.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah I think so -- or at least we can fabricate sessions to match it

@asottile-sentry asottile-sentry merged commit 16731be into master Feb 12, 2024
7 checks passed
@asottile-sentry asottile-sentry deleted the classify-stats branch February 12, 2024 21:37
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