Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { DevMode bool PluginsPath string PluginSettings setting.PluginSettings PluginsAllowUnsigned []string // AWS Plugin Auth AWSAllowedAuthProviders []string AWSAssumeRoleEnabled bool // Azure Cloud settings Azure *azsettings.AzureSettings // Proxy Settings ProxySettings setting.SecureSocksDSProxySettings BuildVersion string // TODO Remove LogDatasourceRequests bool PluginsCDNURLTemplate string Tracing Tracing GrafanaComURL string Features plugins.FeatureToggles AngularSupportEnabled bool // contains filtered or unexported fields }
func NewCfg ¶
func NewCfg(devMode bool, pluginsPath string, pluginSettings setting.PluginSettings, pluginsAllowUnsigned []string, awsAllowedAuthProviders []string, awsAssumeRoleEnabled bool, azure *azsettings.AzureSettings, secureSocksDSProxy setting.SecureSocksDSProxySettings, grafanaVersion string, logDatasourceRequests bool, pluginsCDNURLTemplate string, tracing Tracing, features plugins.FeatureToggles, angularSupportEnabled bool) *Cfg
type OpenTelemetryCfg ¶
OpenTelemetryCfg contains the OpenTelemetry address and propagation config values. This is used to export the OpenTelemetry (OTLP) config without exposing the whole *setting.Cfg.
Click to show internal directories.
Click to hide internal directories.