Search Poc: Add metrics (#95111)

This commit is contained in:
owensmallwood
2024-10-22 12:25:08 -06:00
committed by GitHub
parent 12cc312920
commit 9763199b53
7 changed files with 194 additions and 72 deletions
+3 -1
View File
@@ -532,6 +532,7 @@ type Cfg struct {
// Unified Storage
UnifiedStorage map[string]UnifiedStorageConfig
IndexPath string
}
type UnifiedStorageConfig struct {
@@ -1338,8 +1339,9 @@ func (cfg *Cfg) parseINIFile(iniFile *ini.File) error {
cfg.ScopesListScopesURL = scopesSection.Key("list_scopes_endpoint").MustString("")
cfg.ScopesListDashboardsURL = scopesSection.Key("list_dashboards_endpoint").MustString("")
// read unifed storage config
// unified storage config
cfg.setUnifiedStorageConfig()
cfg.setIndexPath()
return nil
}