grafana/pkg/api/pluginproxy
Anthony Woods f56f54b1a3 Auth: Rotate auth tokens at the end of requests (#21347)
By rotating the auth tokens at the end of the request we ensure
that there is minimum delay between a new token being generated
and the client receiving it.
Adds auth token slow load test which uses random latency for all 
tsdb queries..
Cleans up datasource proxy response handling.
DefaultHandler in middleware tests should write a response, the 
responseWriter BeforeFuncs wont get executed unless a response
is written.

Fixes #18644 

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-01-15 13:03:12 +01:00
..
test-data dsproxy: allow multiple access tokens per datasource 2018-06-12 17:39:38 +02:00
access_token_provider_test.go invalidate access token cache after datasource is updated 2018-09-21 14:24:44 +02:00
access_token_provider.go Plugins: Support templated urls in routes (#16599) 2019-05-07 18:55:39 +02:00
ds_auth_provider_test.go Plugins: Support templated urls in routes (#16599) 2019-05-07 18:55:39 +02:00
ds_auth_provider.go Plugins: Support templated urls in routes (#16599) 2019-05-07 18:55:39 +02:00
ds_proxy_test.go CloudWatch: Fix high CPU load (#20579) 2019-11-22 14:21:23 +01:00
ds_proxy.go Auth: Rotate auth tokens at the end of requests (#21347) 2020-01-15 13:03:12 +01:00
pluginproxy_test.go Plugins: Support templated urls in routes (#16599) 2019-05-07 18:55:39 +02:00
pluginproxy.go Codestyle: Fix govet issues (#17178) 2019-06-04 22:00:05 +02:00
utils_test.go Plugins: Support templated urls in routes (#16599) 2019-05-07 18:55:39 +02:00
utils.go Plugins: Support templated urls in routes (#16599) 2019-05-07 18:55:39 +02:00