Skip to content

Commit

Permalink
attach to investigate for nev nav
Browse files Browse the repository at this point in the history
Signed-off-by: Eric <[email protected]>
  • Loading branch information
mengweieric committed Nov 12, 2024
1 parent 2431f73 commit 285ccc4
Showing 1 changed file with 15 additions and 20 deletions.
35 changes: 15 additions & 20 deletions public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -429,18 +429,13 @@ export class ObservabilityPlugin
mount: appMountWithStartPage('traces', '/services'),
});

// core.application.register({
// id: 'observability-kubernetes',
// title: 'Kubernetes',
// category: DEFAULT_APP_CATEGORIES.observability,
// // category: {
// // id: 'observability',
// // label: 'Observability',
// // order: 3000,
// // },
// order: 5095,
// mount: appMountWithStartPage('kubernetes'),
// });
core.application.register({
id: 'observability-kubernetes',
title: 'Kubernetes',
category: DEFAULT_APP_CATEGORIES.investigate,
order: 5095,
mount: appMountWithStartPage('kubernetes'),
});

} else {
core.application.register({
Expand All @@ -450,6 +445,14 @@ export class ObservabilityPlugin
order: observabilityTracesPluginOrder,
mount: appMountWithStartPage('traces'),
});

core.application.register({
id: 'observability-kubernetes',
title: 'Kubernetes',
category: DEFAULT_APP_CATEGORIES.observability,
order: 5095,
mount: appMountWithStartPage('kubernetes'),
});
// deprecated in new Nav Groups and when MDS is enabled.
if (!setupDeps.dataSource) {
core.application.register({
Expand Down Expand Up @@ -477,14 +480,6 @@ export class ObservabilityPlugin
mount: appMountWithStartPage('notebooks'),
});

core.application.register({
id: 'observability-kubernetes',
title: 'Kubernetes',
category: DEFAULT_APP_CATEGORIES.observability,
order: 5095,
mount: appMountWithStartPage('kubernetes'),
});

core.application.register({
id: 'kubernetes-configurations',
title: 'Configurations',
Expand Down

0 comments on commit 285ccc4

Please sign in to comment.