mozilla-services / syncstorage-rs

Sync Storage server in Rust
Mozilla Public License 2.0
839 stars 46 forks source link

Add ReportableError hooks for adding tags/extras to metrics/sentry events #1556

Closed data-sync-user closed 1 month ago

data-sync-user commented 2 months ago

For better metrics/sentry metadata reporting from our errors, add optional hook methods to our ReportableError that lets us set metric/sentry tags and sentry extras.

Basically a copy of what we did in autopush-rs

┆Issue is synchronized with this Jira Task

data-sync-user commented 2 months ago

➤ JR Conlin commented:

Note, once this is done, we want to revisit this comment ( https://github.com/mozilla-services/syncstorage-rs/pull/1546#discussion_r1592874278 )