Jo
4ee389676e
RemoteCache: Cleanup infra remote cache ( #64381 )
...
* add warning on Count
* add usagestats service
* fix typo
* remove unused glog
* remote cache stats collect
* add encrypt usage stat
* rename handler
* Update pkg/infra/remotecache/remotecache.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/infra/remotecache/remotecache_test.go
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2023-03-09 09:26:13 +01:00
Serge Zaitsev
f1fb202284
Chore: Add encryption codec to the remote cache ( #59871 )
...
* add encryption codec to the remote cache
* change config files too
* fix test constructor
* pass codec into the test cache
2022-12-06 15:12:27 +01:00
Kristin Laemmert
05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages ( #57087 )
...
* chore: add alias for InitTestDB and Session
Adds an alias for the sqlstore InitTestDB and Session, and updates tests using these to reduce dependencies on the sqlstore.Store.
* next pass of removing sqlstore imports
* last little bit
* remove mockstore where possible
2022-10-19 09:02:15 -04:00
Arve Knudsen
78596a6756
Migrate to Wire for dependency injection ( #32289 )
...
Fixes #30144
Co-authored-by: dsotirakis <sotirakis.dim@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com >
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
Co-authored-by: spinillos <selenepinillos@gmail.com >
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
Co-authored-by: Leonard Gram <leo@xlson.com >
2021-08-25 15:11:22 +02:00
Arve Knudsen
8d5b0084f1
Middleware: Simplifications ( #29491 )
...
* Middleware: Simplify
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* middleware: Rename auth_proxy directory to authproxy
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-02 12:44:51 +01:00
Oleg Gaidarenko
67cbc7d4cf
Chore: use remote cache instead of session storage ( #16114 )
...
Replaces session storage in auth_proxy middleware with remote cache
Fixes #15161
2019-04-08 14:31:46 +03:00