Advisor: Allow to define enterprise checks (#108114)

This commit is contained in:
Andres Martinez Gotor
2025-07-17 11:37:32 +02:00
committed by GitHub
parent 3fb0e8cd2c
commit 8e663b50e9
2 changed files with 3 additions and 3 deletions

View File

@ -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(