Commit 46c9d6a
committed
Fix HTTP span naming by moving wrap-reitit-route to router
Route-level middleware runs after Reitit injects the match, so
wrap-reitit-route can find the template and update the span name
to include the route (e.g., "GET /login" instead of just "GET").1 parent ac603c0 commit 46c9d6a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
173 | | - | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments