Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenTelemetryCfg ¶
type OpenTelemetryCfg struct { Address string Propagation string Sampler string SamplerParam float64 SamplerRemoteURL string }
OpenTelemetryCfg contains the OpenTelemetry address and propagation config values. This is used to export the OpenTelemetry (OTLP) config without exposing the whole *setting.Cfg.
type PluginManagementCfg ¶
type PluginManagementCfg struct { DevMode bool PluginsPath string PluginSettings setting.PluginSettings PluginsAllowUnsigned []string DisablePlugins []string ForwardHostEnvVars []string PluginsCDNURLTemplate string GrafanaComAPIURL string GrafanaAppURL string Features Features AngularSupportEnabled bool HideAngularDeprecation []string }
PluginManagementCfg is the configuration for the plugin management system. It includes settings which are used to configure different components of plugin management.
func NewPluginManagementCfg ¶
func NewPluginManagementCfg(devMode bool, pluginsPath string, pluginSettings setting.PluginSettings, pluginsAllowUnsigned []string, pluginsCDNURLTemplate string, appURL string, features Features, angularSupportEnabled bool, grafanaComAPIURL string, disablePlugins []string, hideAngularDeprecation []string, forwardHostEnvVars []string, ) *PluginManagementCfg
NewPluginManagementCfg returns a new PluginManagementCfg.
Click to show internal directories.
Click to hide internal directories.