Enable tracing for all plugins if enablePluginsTracingByDefault is set
This commit is contained in:
6 files changed
+18
-12
No files matched your search
@@ -31,14 +31,14 @@ const (
|
||||
|
||||
func ProvideService(cfg *setting.Cfg, cacheService *localcache.CacheService, pluginStore pluginstore.Store,
|
||||
dataSourceService datasources.DataSourceService, pluginSettingsService pluginsettings.Service,
|
||||
licensing plugins.Licensing, pCfg *config.Cfg) *Provider {
|
||||
licensing plugins.Licensing, pCfg *config.Cfg, features plugins.FeatureToggles) *Provider {
|
||||
return &Provider{
|
||||
cfg: cfg,
|
||||
cacheService: cacheService,
|
||||
pluginStore: pluginStore,
|
||||
dataSourceService: dataSourceService,
|
||||
pluginSettingsService: pluginSettingsService,
|
||||
pluginEnvVars: envvars.NewProvider(pCfg, licensing),
|
||||
pluginEnvVars: envvars.NewProvider(pCfg, licensing, features),
|
||||
logger: log.New("plugin.context"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user