diff --git a/dashboards-observability/common/constants/metrics.ts b/dashboards-observability/common/constants/metrics.ts index 066e7373d..0facdc693 100644 --- a/dashboards-observability/common/constants/metrics.ts +++ b/dashboards-observability/common/constants/metrics.ts @@ -6,8 +6,8 @@ // requests constants export const VISUALIZATION = 'viz'; export const SAVED_VISUALIZATION = 'savedVisualization'; -export const PPL_PROMETHEUS_CATALOG_REQUEST = - 'show catalogs | where CONNECTOR_TYPE="PROMETHEUS" | fields CATALOG_NAME'; +export const PPL_DATASOURCES_REQUEST = + 'show datasources | where CONNECTOR_TYPE="PROMETHEUS" | fields DATASOURCE_NAME'; // redux export const REDUX_SLICE_METRICS = 'metrics'; diff --git a/dashboards-observability/public/components/metrics/index.tsx b/dashboards-observability/public/components/metrics/index.tsx index 5b2e52eb7..9d8b41694 100644 --- a/dashboards-observability/public/components/metrics/index.tsx +++ b/dashboards-observability/public/components/metrics/index.tsx @@ -104,7 +104,7 @@ export const Home = ({ http, chrome, parentBreadcrumb, renderProps, pplService } }, [editMode]); const mainSectionClassName = classNames({ - 'col-md-9': !isSidebarClosed, + 'col-md-10': !isSidebarClosed, 'col-md-12': isSidebarClosed, }); @@ -140,7 +140,7 @@ export const Home = ({ http, chrome, parentBreadcrumb, renderProps, pplService } />