Skip to content

Wrong grouping of events - different messages / culprits with the same checksum #889

@dmk23

Description

@dmk23

I am using Sentry to monitor a Django application with standard Django logging integration.

Sentry for some reason places highly unrelated events into the same groups. The events come from different loggers and I want to be sure they are not mixed up.

I looked into 'sentry_message' table and discovered that these events share the same checksum while having different 'logger', 'message' and 'view' values. This does not seem to be right since I believe checksum is calculated by mashing all these things into one hash.

My code generating the messages is polymorphic and uses somewhat standardized message format. So I believe lots of stacktraces and messages share similar fragments - but they are unique. However I was unable to find anywhere in the documentation what I can or should do on the client / logger side to control the event grouping.

Am I missing something here? I've tried tracing the code and my impression was that message string is used for hashing without any modifications, so it does not make sense...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions