grafana/pkg/infra/usagestats
Emil Tullstedt 3df625e9f4
UsageStats: Move stats collection to separate service (#47381)
* Remove specific stats from usage stats service

* Create statscollector service

* refactor

* Update and move tests

Mostly equivalent tests to before, but they've been divided over the two
services and removed the behavior driven legacy from GoConvey to
reduce the complexity of the tests.

* Collect featuremgmr metrics (copied over from #47407)

I removed the metrics registration from the feature manager in the merge
and re-add them in this commit. Separated to make things easier to
review.
2022-04-08 13:41:26 +02:00
..
service UsageStats: Move stats collection to separate service (#47381) 2022-04-08 13:41:26 +02:00
statscollector UsageStats: Move stats collection to separate service (#47381) 2022-04-08 13:41:26 +02:00
mock.go UsageStats: Move stats collection to separate service (#47381) 2022-04-08 13:41:26 +02:00
service.go Chore: Add context to datasource service (#42294) 2021-11-26 18:10:36 +01:00