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
+1 -1
View File
@@ -50,7 +50,7 @@ func NewResourceServer(ctx context.Context, db infraDB.DB, cfg *setting.Cfg, fea
opts.Lifecycle = store
if features.IsEnabledGlobally(featuremgmt.FlagUnifiedStorageSearch) {
opts.Index = resource.NewResourceIndexServer()
opts.Index = resource.NewResourceIndexServer(cfg)
server, err := resource.NewResourceServer(opts)
if err != nil {
return nil, err