-
Context: Tracing in Sentry is done per transaction - this is typically something like Given the following route: app.get('/api/users/:user', async (c) => {
...
}) Is it possible to get the string |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @jahands ! With the current implementation, the answer is "we can't do it". Because the result of the matching routing only has the "handler" and "named path param (user ID)", it does not have |
Beta Was this translation helpful? Give feedback.
-
Would love to see this implemented since its how you'd group requests in APM monitoring middleware like sentry. It's also pretty useful in just regular logging. edit: just realized i've said the same thing jahands did |
Beta Was this translation helpful? Give feedback.
-
It looks like this is available in v3.11.0 via |
Beta Was this translation helpful? Give feedback.
It looks like this is available in v3.11.0 via
c.req.routePath
thanks @usualoma