From 97510010e3f0fc5af4e130bfe76263a907544cc2 Mon Sep 17 00:00:00 2001 From: Shenoy Pratik Date: Wed, 2 Nov 2022 19:28:41 -0700 Subject: [PATCH] add metrics to nav bar Signed-off-by: Shenoy Pratik --- dashboards-observability/public/components/app.tsx | 1 + .../public/components/common/side_nav.tsx | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/dashboards-observability/public/components/app.tsx b/dashboards-observability/public/components/app.tsx index 5d10a4ade..34f9b780b 100644 --- a/dashboards-observability/public/components/app.tsx +++ b/dashboards-observability/public/components/app.tsx @@ -17,6 +17,7 @@ import { Home as CustomPanelsHome } from './custom_panels/home'; import { EventAnalytics } from './event_analytics'; import { Main as NotebooksHome } from './notebooks/components/main'; import { Home as TraceAnalyticsHome } from './trace_analytics/home'; +import { Home as MetricsHome } from './metrics/index'; interface ObservabilityAppDeps { CoreStartProp: CoreStart; diff --git a/dashboards-observability/public/components/common/side_nav.tsx b/dashboards-observability/public/components/common/side_nav.tsx index 0f63ed243..52684b97f 100644 --- a/dashboards-observability/public/components/common/side_nav.tsx +++ b/dashboards-observability/public/components/common/side_nav.tsx @@ -88,6 +88,11 @@ export function ObservabilitySideBar(props: { children: React.ReactNode }) { id: 5, href: '#/notebooks', }, + { + name: 'Metrics', + id: 6, + href: '#/metrics', + }, ], }, ];