Advisor: Allow to define enterprise checks (#108114)

pull/106264/head
Andres Martinez Gotor 3 days ago committed by GitHub
parent 3fb0e8cd2c
commit 8e663b50e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      pkg/registry/apps/wireset.go
  2. 3
      pkg/services/pluginsintegration/pluginsintegration.go

@ -3,7 +3,6 @@ package appregistry
import (
"github.com/google/wire"
"github.com/grafana/grafana/apps/advisor/pkg/app/checkregistry"
"github.com/grafana/grafana/pkg/registry/apps/advisor"
"github.com/grafana/grafana/pkg/registry/apps/alerting/notifications"
"github.com/grafana/grafana/pkg/registry/apps/investigations"
@ -15,7 +14,5 @@ var WireSet = wire.NewSet(
playlist.RegisterApp,
investigations.RegisterApp,
advisor.RegisterApp,
checkregistry.ProvideService,
notifications.RegisterApp,
wire.Bind(new(checkregistry.CheckService), new(*checkregistry.Service)),
)

@ -6,6 +6,7 @@ import (
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/prometheus/client_golang/prometheus"
"github.com/grafana/grafana/apps/advisor/pkg/app/checkregistry"
"github.com/grafana/grafana/pkg/infra/tracing"
"github.com/grafana/grafana/pkg/plugins"
"github.com/grafana/grafana/pkg/plugins/auth"
@ -151,6 +152,8 @@ var WireExtensionSet = wire.NewSet(
wire.Bind(new(provisionedplugins.Manager), new(*provisionedplugins.Noop)),
sources.ProvideService,
wire.Bind(new(sources.Registry), new(*sources.Service)),
checkregistry.ProvideService,
wire.Bind(new(checkregistry.CheckService), new(*checkregistry.Service)),
)
func ProvideClientWithMiddlewares(

Loading…
Cancel
Save