grafana/pkg/api/routing
Marcus Efraimsson 0092d10764
Instrumentation: Fix HTTP request instrumentation of authentication failures (#44234)
Moves the request tracing middleware earlier in the chain, just after the tracing middleware 
and before the log middleware. With these changes we'll be able to track 
authentication/authorization status failures that currently exits early and don't execute the 
request tracing middleware. In addition, there might be some other routes now being tracked 
with this that we didn't do before.

Fixes #39590
2022-02-02 18:48:46 +01:00
..
route_register_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
route_register.go Instrumentation: Fix HTTP request instrumentation of authentication failures (#44234) 2022-02-02 18:48:46 +01:00
routing.go Chore: Refactor api handlers to use web.Bind (#42199) 2021-11-29 10:18:01 +01:00