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

fix(grouping): Tag first grouping variant's name on transaction [INGEST-494] #29792

Merged
merged 2 commits into from
Nov 8, 2021

Conversation

untitaker
Copy link
Member

  • I want to get a general feeling for how many events in save_event are
    grouped by message vs stacktrace. Adding this tag to the save_event
    transaction.

  • When short_id.timeout message is emitted in event manager, it's
    often because of bad grouping. It's useful to know which variant created
    so many different hashes. Then we can use this data to improve either
    message grouping or stacktrace grouping.

* I want to get a general feeling for how many events in save_event are
grouped by message vs stacktrace. Adding this tag to the save_event
transaction.

* When `short_id.timeout` message is emitted in event manager, it's
often because of bad grouping. It's useful to know which variant created
so many different hashes. Then we can use this data to improve either
message grouping or stacktrace grouping.
)

flat_hashes = [hash_ for _, hash_ in flat_hashes]
hierarchical_hashes = [hash_ for _, hash_ in hierarchical_hashes]
Copy link
Member

Choose a reason for hiding this comment

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

Why not expose the names in the interface of get_hashes, and then call set_tag in the event_manager? Just so this tag is not set accidentally when get_hashes() is called from other places.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we can live with this tag being accidentally set. Since the majority of get_hashes callers are untyped I didn't dare refactor this.

@untitaker untitaker merged commit f1f8fae into master Nov 8, 2021
@untitaker untitaker deleted the fix/first-hash-tagging branch November 8, 2021 09:50
@github-actions github-actions bot locked and limited conversation to collaborators Nov 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants