Problem Statement
My Vue routes are configured with path and name. (Route names are optional in Vue Router.)
In Sentry, I need paths logged, not route names.
In fact: Full paths, including the base path of the SPA.
The current Vue Router Sentry instrumentation chooses the name, if it is set, and falls back to the path only if no route name has been configured.
Solution Brainstorm
New options for vue router instrumentation:
- Log navigation as route name
- Log navigation as route path
- Include route parameters
- Yes, log path with inserted parameters (as in the URL bar)
- No, log path with route parameter placeholders
- Include SPA base path