grafana/pkg/middleware
Daniel Lee 0d85c63fff middleware: recovery handles panics in all handlers
Also, changes the order of the middleware so that recovery is after the
gzip middleware. Otherwise, a 200 OK is returned instead of a 500 error.
2017-11-15 13:57:33 +01:00
..
auth_proxy_test.go tests: fix after interface change 2017-08-07 10:20:46 +02:00
auth_proxy.go Optimize some wrong usage and spelling 2017-09-07 17:50:11 +08:00
auth_test.go Auth: Support for user authentication via reverse proxy header (like X-Authenticated-User, or X-WEBAUTH-USER), Closes #1921 2015-05-02 12:06:58 +02:00
auth.go feat(macaron): upgrades macaron version 2016-01-13 15:11:23 +01:00
logger.go convert old metrics to prom metrics 2017-09-14 14:26:32 +02:00
middleware_test.go middleware: recovery handles panics in all handlers 2017-11-15 13:57:33 +01:00
middleware.go convert old metrics to prom metrics 2017-09-14 14:26:32 +02:00
org_redirect_test.go middleware: rename org-id -> orgId 2017-02-17 15:18:40 +01:00
org_redirect.go org: fixed issue with orgId query param redirect handling when grafana is under subpath and reverse proxy, fixes #8089 2017-04-12 07:11:08 +02:00
perf.go feat(timing): timing is now working with graphite and influxdb 2016-06-03 09:17:36 +02:00
quota_test.go fix(quota): fixed failing quota unit tests 2015-09-18 08:36:58 +02:00
quota.go feat(loggin): disable logging by default so unit tests are not full of logging 2016-06-11 11:38:25 +02:00
recovery_test.go middleware: recovery handles panics in all handlers 2017-11-15 13:57:33 +01:00
recovery.go middleware: recovery handles panics in all handlers 2017-11-15 13:57:33 +01:00
render_auth.go fix(server side rendering): Fixed issues with server side rendering for alerting & for auth proxy scenarios, fixes #6115, fixes #5906 2016-09-23 12:29:53 +02:00
request_metrics.go metrics: set summary unit 2017-09-14 19:28:54 +02:00
request_tracing.go mark >=400 responses as error 2017-09-18 11:08:58 +02:00
session.go login: regenerates session id on login 2017-08-07 10:00:29 +02:00
util.go prometheus: enable gzip for /metrics endpoint 2017-10-23 09:35:46 +02:00
validate_host.go fix(rendering): fixed server side rendering issue when sertting enforce_domain to true, fixes #6769 2016-12-05 11:20:01 +01:00