0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Removed path tags from Sentry (#18853)

no issues

- The `path` tags added to Sentry events from admin aren't super useful, since they often include e.g. a
post id in the path, which isn't super useful for filtering/grouping
- We already have a `route` tag which can be used to filter to a
particular route, which renders the `path` tags unnecessary
This commit is contained in:
Chris Raible 2023-11-02 14:13:38 -07:00 committed by GitHub
parent 8a0a9c07fb
commit 2db24c9282
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,6 @@ export default Route.extend(ShortcutsRoute, {
// Need a tiny delay here to allow the router to update to the current route
later(() => {
Sentry.setTag('route', this.router.currentRouteName);
Sentry.setTag('path', this.router.currentURL);
}, 2);
},