grafana/pkg/middleware
Daniel Lee 3ca1e06509 session: fork Macaron mysql session middleware
This changes forks the mysql part of the Macaron session middleware.

In the forked mysql file:

- takes in a config setting for SetConnMaxLifetime (this solves wait_timeout
problem if it is set to a shorter interval than wait_timeout)
- removes the panic when an error is returned in the Exist function.
- retries the exist query once
- retries the GC query once
2018-03-16 01:19:28 +01:00
..
auth_proxy_test.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
auth_proxy.go rename Context to ReqContext 2018-03-07 11:54:50 -05: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 rename Context to ReqContext 2018-03-07 11:54:50 -05:00
dashboard_redirect_test.go dashboard: fix redirect of legacy dashboard url's 2018-02-04 17:29:16 +01:00
dashboard_redirect.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
logger.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
middleware_test.go session: fork Macaron mysql session middleware 2018-03-16 01:19:28 +01:00
middleware.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
org_redirect_test.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
org_redirect.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
perf.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
quota_test.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
quota.go move quota to dedicated service 2018-03-07 17:19:35 -05:00
recovery_test.go session: fork Macaron mysql session middleware 2018-03-16 01:19:28 +01:00
recovery.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00
render_auth.go rename Context to ReqContext 2018-03-07 11:54:50 -05: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 session: fork Macaron mysql session middleware 2018-03-16 01:19:28 +01:00
util.go prometheus: enable gzip for /metrics endpoint 2017-10-23 09:35:46 +02:00
validate_host.go rename Context to ReqContext 2018-03-07 11:54:50 -05:00