grafana/pkg/infra/usagestats/service
sh0rez 3ca3a59079
pkg/web: remove dependency injection (#49123)
* pkg/web: store http.Handler internally

* pkg/web: remove injection

Removes any injection code from pkg/web.

It already was no longer functional, as we already only injected into
`http.Handler`, meaning we only inject ctx.Req and ctx.Resp.

Any other types (*Context, *ReqContext) were already accessed using the
http.Request.Context.Value() method.

* *: remove type mappings

Removes any call to the previously removed TypeMapper, as those were
non-functional already.

* pkg/web: remove Context.Invoke

was no longer used outside of pkg/web and also no longer functional
2022-05-24 15:35:08 -04:00
..
api_test.go pkg/web: remove dependency injection (#49123) 2022-05-24 15:35:08 -04:00
api.go Add usage stats preview endpoint (#43899) 2022-01-14 10:16:07 +01:00
service.go UsageStats: Move stats collection to separate service (#47381) 2022-04-08 13:41:26 +02:00
usage_stats_test.go UsageStats: Move stats collection to separate service (#47381) 2022-04-08 13:41:26 +02:00
usage_stats.go UsageStats: Move stats collection to separate service (#47381) 2022-04-08 13:41:26 +02:00