grafana/pkg/services/supportbundles
Jo 108202f96c
UsageStats: Separate context and threads for usage stats (#83963)
* separate context and threads for usage stats

* use constants

* ignore original context

* fix runMetricsFunc

* fix collector registration

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

* change background ctx

* fix test randomness

* Add traces to support bundle collector

* Remove unecessay span

* Add trace to usagestats api

* Close spans

* Mv trace to bundle

* Change span name

* use parent context

* fix runtime declare of stats

* Fix pointer dereference problem on usage stat func

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: jguer <joao.guerreiro@grafana.com>

* fix broken support bundle tests by tracer

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: gamab <gabriel.mabille@grafana.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-03-11 15:18:42 +01:00
..
bundleregistry Support bundles: Refactor registry into separate service (#62945) 2023-02-06 17:50:03 +01:00
supportbundlesimpl UsageStats: Separate context and threads for usage stats (#83963) 2024-03-11 15:18:42 +01:00
supportbundlestest Support bundles: Refactor registry into separate service (#62945) 2023-02-06 17:50:03 +01:00
interface.go Auth: Remove oAuthProviders from Social service (#78732) 2023-11-30 09:30:35 +01:00