Alerting: Fix scheduler to group folders by the unique key (orgID and UID) (#81303)

This commit is contained in:
Yuri Tseretyan
2024-01-30 17:14:11 -05:00
committed by GitHub
parent 5c0d7749eb
commit 131c72d655
8 changed files with 41 additions and 19 deletions

View File

@@ -301,7 +301,7 @@ func (sch *schedule) processTick(ctx context.Context, dispatcherGroup *errgroup.
var folderTitle string
if !sch.disableGrafanaFolder {
title, ok := folderTitles[item.NamespaceUID]
title, ok := folderTitles[item.GetFolderKey()]
if ok {
folderTitle = title
} else {