getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.22k stars 4.21k forks source link

feat(grouping): Collect grouphash metadata metrics #81070

Closed lobsterkatie closed 10 hours ago

lobsterkatie commented 1 day ago

This adds a number of metrics to track grouphash metadata:

To test the first two metrics, they and their tag values have been added to the grouphash metadata snapshots. (The timer metric wasn't included because there's not much to test there, and the backfill metric wasn't included because it's temporary.)

codecov[bot] commented 1 day ago

Codecov Report

Attention: Patch coverage is 96.15385% with 1 line in your changes missing coverage. Please review.

:white_check_mark: All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/grouping/ingest/grouphash_metadata.py 94.73% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #81070 +/- ## ========================================== - Coverage 78.49% 78.48% -0.01% ========================================== Files 7215 7215 Lines 319793 319816 +23 Branches 44034 44040 +6 ========================================== + Hits 251009 251018 +9 - Misses 62399 62406 +7 - Partials 6385 6392 +7 ```