chore(folders): add extended tracing to the folders service (#103007)

This commit is contained in:
Jean-Philippe Quéméner
2025-04-03 11:54:47 +02:00
committed by GitHub
parent 4fffc3adaf
commit f4ae8516bd
4 changed files with 108 additions and 6 deletions
@@ -530,6 +530,7 @@ func TestSearchFoldersFromApiServer(t *testing.T) {
k8sclient: fakeK8sClient,
features: featuremgmt.WithFeatures(featuremgmt.FlagKubernetesClientDashboardsFolders),
unifiedStore: folderStore,
tracer: tracing.NewNoopTracerService(),
}
user := &user.SignedInUser{OrgID: 1}
ctx := identity.WithRequester(context.Background(), user)
@@ -774,6 +775,7 @@ func TestGetFoldersFromApiServer(t *testing.T) {
k8sclient: fakeK8sClient,
features: featuremgmt.WithFeatures(featuremgmt.FlagKubernetesClientDashboardsFolders),
unifiedStore: folderStore,
tracer: tracing.NewNoopTracerService(),
}
user := &user.SignedInUser{OrgID: 1}
ctx := identity.WithRequester(context.Background(), user)
@@ -865,6 +867,7 @@ func TestDeleteFoldersFromApiServer(t *testing.T) {
publicDashboardService: publicDashboardFakeService,
registry: make(map[string]folder.RegistryService),
features: featuremgmt.WithFeatures(featuremgmt.FlagKubernetesClientDashboardsFolders),
tracer: tracing.NewNoopTracerService(),
}
user := &user.SignedInUser{OrgID: 1}
ctx := identity.WithRequester(context.Background(), user)