grafana/pkg/infra
J Guerreiro 1e9818a69f
Add usage stats preview endpoint (#43899)
* Stats: add preview route for usage statistics

* Stats: respect reporting settings

* Stats: add tests to api endpoint

* Stats: unregister route

* Stats: always possible to preview stats

* Update pkg/infra/usagestats/service/api.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-01-14 10:16:07 +01:00
..
fs use absolute path when getting grafana path; add test for directory (#36001) 2021-07-06 11:28:02 -05:00
httpclient DataProxy: Fix issue overriding response body when response status is 101 (#41364) 2021-11-09 14:33:54 +01:00
kvstore Alerting: fix ngalert alertmanager SQL Syntax Errors (#40827) 2021-10-25 11:53:41 +02:00
localcache Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
log Use stack trace context in XORM trace logger (#43780) 2022-01-13 13:30:28 -05:00
metrics Chore: Report frontend metrics for JS/CSS load time (#42421) 2021-12-02 09:34:39 +01:00
network Backend: fix IPv6 address parsing erroneous (#28585) 2020-11-25 07:55:22 +01:00
process PluginsCatalog: adding error information about disabled plugins. (#39171) 2021-09-20 09:08:00 +02:00
remotecache Logger migration from log15 to gokit/log (#41636) 2022-01-06 22:28:05 +08:00
serverlock Chore: Fix flaky serverlock integration test (#42633) 2021-12-02 12:53:21 +01:00
tracing Add interface Tracer, add Opentelemetry (#41963) 2021-12-01 17:05:08 +01:00
usagestats Add usage stats preview endpoint (#43899) 2022-01-14 10:16:07 +01:00