K8s: Refactor metrics to share k8s registry (#79106)

This commit is contained in:
Todd Treece
2023-12-06 16:34:23 -05:00
committed by GitHub
parent c631261681
commit 2a2a132c61
13 changed files with 197 additions and 36 deletions
+2
View File
@@ -7,6 +7,7 @@ package server
import (
"github.com/google/wire"
"github.com/grafana/grafana/pkg/infra/metrics"
"github.com/grafana/grafana/pkg/plugins"
"github.com/grafana/grafana/pkg/plugins/manager"
"github.com/grafana/grafana/pkg/registry"
@@ -123,6 +124,7 @@ var wireExtsTestSet = wire.NewSet(
var wireExtsBaseCLISet = wire.NewSet(
NewModuleRunner,
metrics.WireSet,
featuremgmt.ProvideManagerService,
featuremgmt.ProvideToggles,
hooks.ProvideService,