feat(insights): collect ScannerExtractor configuration to measure gotaglib usage
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -215,6 +215,7 @@ var staticData = sync.OnceValue(func() insights.Data {
|
|||||||
data.Config.BackupCount = conf.Server.Backup.Count
|
data.Config.BackupCount = conf.Server.Backup.Count
|
||||||
data.Config.DevActivityPanel = conf.Server.DevActivityPanel
|
data.Config.DevActivityPanel = conf.Server.DevActivityPanel
|
||||||
data.Config.ScannerEnabled = conf.Server.Scanner.Enabled
|
data.Config.ScannerEnabled = conf.Server.Scanner.Enabled
|
||||||
|
data.Config.ScannerExtractor = conf.Server.Scanner.Extractor
|
||||||
data.Config.ScanSchedule = conf.Server.Scanner.Schedule
|
data.Config.ScanSchedule = conf.Server.Scanner.Schedule
|
||||||
data.Config.ScanWatcherWait = uint64(math.Trunc(conf.Server.Scanner.WatcherWait.Seconds()))
|
data.Config.ScanWatcherWait = uint64(math.Trunc(conf.Server.Scanner.WatcherWait.Seconds()))
|
||||||
data.Config.ScanOnStartup = conf.Server.Scanner.ScanOnStartup
|
data.Config.ScanOnStartup = conf.Server.Scanner.ScanOnStartup
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ type Data struct {
|
|||||||
LogFileConfigured bool `json:"logFileConfigured,omitempty"`
|
LogFileConfigured bool `json:"logFileConfigured,omitempty"`
|
||||||
TLSConfigured bool `json:"tlsConfigured,omitempty"`
|
TLSConfigured bool `json:"tlsConfigured,omitempty"`
|
||||||
ScannerEnabled bool `json:"scannerEnabled,omitempty"`
|
ScannerEnabled bool `json:"scannerEnabled,omitempty"`
|
||||||
|
ScannerExtractor string `json:"scannerExtractor,omitempty"`
|
||||||
ScanSchedule string `json:"scanSchedule,omitempty"`
|
ScanSchedule string `json:"scanSchedule,omitempty"`
|
||||||
ScanWatcherWait uint64 `json:"scanWatcherWait,omitempty"`
|
ScanWatcherWait uint64 `json:"scanWatcherWait,omitempty"`
|
||||||
ScanOnStartup bool `json:"scanOnStartup,omitempty"`
|
ScanOnStartup bool `json:"scanOnStartup,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user