grafana/pkg/middleware
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
..
cookies Backend: Remove more globals (#29644) 2020-12-15 19:09:04 +01:00
auth_test.go Chore: Implement OpenTelemtry in Grafana (#42674) 2022-01-20 11:10:12 +01:00
auth.go Chore: Add context to team (#40504) 2021-10-18 14:02:39 +02:00
csp.go Macaron: convert CSP middleware (#37672) 2021-08-10 09:03:22 +02:00
dashboard_redirect_test.go Chore: Remove endpoints that contain the slug field (#35104) 2021-06-03 16:20:13 +03:00
dashboard_redirect.go Chore: Remove endpoints that contain the slug field (#35104) 2021-06-03 16:20:13 +03:00
gziper.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
logger.go Packaging: Dependency updates (#40534) 2021-10-18 19:50:10 +02:00
middleware_basic_auth_test.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
middleware_jwt_auth_test.go Auth: implement auto_sign_up for auth.jwt (#43502) 2022-01-13 17:15:22 +01:00
middleware_test.go Middleware: Don't require HTTPS for HSTS headers to be emitted (#35147) 2022-01-28 07:23:28 +01:00
middleware.go Middleware: Don't require HTTPS for HSTS headers to be emitted (#35147) 2022-01-28 07:23:28 +01:00
org_redirect_test.go Fix kiosk bug (#43152) 2022-01-19 10:58:22 +02:00
org_redirect.go Fix kiosk bug (#43152) 2022-01-19 10:58:22 +02:00
quota_test.go Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
quota.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
rate_limit_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
rate_limit.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
recovery_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
recovery.go Logger migration from log15 to gokit/log (#41636) 2022-01-06 22:28:05 +08:00
request_metrics.go Instrumentation: Fix HTTP request instrumentation of authentication failures (#44234) 2022-02-02 18:48:46 +01:00
request_tracing.go Chore: Implement OpenTelemtry in Grafana (#42674) 2022-01-20 11:10:12 +01:00
testing.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
validate_host.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00