Introduce TSDB service (#31520)
* Introduce TSDB service Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Erik Sundell <erik.sundell87@gmail.com> Co-authored-by: Will Browne <will.browne@grafana.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.org> Co-authored-by: Will Browne <wbrowne@users.noreply.github.com> Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
This commit is contained in:
co-authored by
Erik Sundell
Will Browne
Torkel Ödegaard
Will Browne
Zoltán Bedi
parent
c899bf3592
commit
b79e61656a
@@ -143,7 +143,6 @@ var (
|
||||
// analytics
|
||||
ReportingEnabled bool
|
||||
ReportingDistributor string
|
||||
CheckForUpdates bool
|
||||
GoogleAnalyticsId string
|
||||
GoogleTagManagerId string
|
||||
|
||||
@@ -335,6 +334,9 @@ type Cfg struct {
|
||||
|
||||
Env string
|
||||
|
||||
// Analytics
|
||||
CheckForUpdates bool
|
||||
|
||||
// LDAP
|
||||
LDAPEnabled bool
|
||||
LDAPAllowSignup bool
|
||||
@@ -821,7 +823,7 @@ func (cfg *Cfg) Load(args *CommandLineArgs) error {
|
||||
cfg.MetricsEndpointDisableTotalStats = iniFile.Section("metrics").Key("disable_total_stats").MustBool(false)
|
||||
|
||||
analytics := iniFile.Section("analytics")
|
||||
CheckForUpdates = analytics.Key("check_for_updates").MustBool(true)
|
||||
cfg.CheckForUpdates = analytics.Key("check_for_updates").MustBool(true)
|
||||
GoogleAnalyticsId = analytics.Key("google_analytics_ua_id").String()
|
||||
GoogleTagManagerId = analytics.Key("google_tag_manager_id").String()
|
||||
ReportingEnabled = analytics.Key("reporting_enabled").MustBool(true)
|
||||
|
||||
Reference in New Issue
Block a user