diff --git a/public/components/metrics/index.tsx b/public/components/metrics/index.tsx
index a6ff425146..f1563f5d60 100644
--- a/public/components/metrics/index.tsx
+++ b/public/components/metrics/index.tsx
@@ -9,6 +9,7 @@ import {
EuiGlobalToastList,
EuiPage,
EuiPageBody,
+ EuiResizableContainer,
htmlIdGenerator,
OnTimeChangeProps,
ShortDate,
@@ -187,47 +188,39 @@ export const Home = ({
setSearch={setSearch}
/>
-
-
- {!isSidebarClosed && (
-
- )}
- onSideBarClick()}
- data-test-subj="collapseSideBarButton"
- aria-controls="discover-sidebar"
- aria-expanded={isSidebarClosed ? 'false' : 'true'}
- aria-label="Toggle sidebar"
- className="dscCollapsibleSidebar__collapseButton"
- />
-
-
-
- {selectedMetrics.length > 0 ? (
-
- ) : (
-
+
+ {(EuiResizablePanel, EuiResizableButton) => (
+ <>
+
+
+
+
+
+
+
+ {selectedMetrics.length > 0 ? (
+
+ ) : (
+
+ )}
+
+ >
)}
-
+