Skip to content

Commit

Permalink
fix missing renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
MiriamAparicio committed May 10, 2024
1 parent 3b5f01e commit 7753742
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
*/

export { HostCharts } from './host_charts';
export { KubernetesNodeCharts } from './kubernetes_charts';
export { KubernetesNodeCharts, KubernetesContainerCharts } from './kubernetes_charts';
export { DockerCharts } from './docker_charts';
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useAssetDetailsRenderPropsContext } from '../../hooks/use_asset_details
import { useDataViewsContext } from '../../hooks/use_data_views';
import { useIntersectingState } from '../../hooks/use_intersecting_state';
import { MetricsTemplate } from './metrics_template';
import { HostCharts, KubernetesCharts } from '../../charts';
import { HostCharts, KubernetesNodeCharts } from '../../charts';
import { HostMetricTypes } from '../../charts/types';

const METRIC_TYPES: Array<Exclude<HostMetricTypes, 'kpi'>> = [
Expand Down Expand Up @@ -41,7 +41,7 @@ export const HostMetrics = () => {
metric={metric}
/>
))}
<KubernetesCharts
<KubernetesNodeCharts
assetId={asset.id}
dataView={metrics.dataView}
dateRange={state.dateRange}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import React from 'react';
import { EuiFlexGroup, EuiFlexGrid } from '@elastic/eui';
import type { TimeRange } from '@kbn/es-query';
import type { DataView } from '@kbn/data-views-plugin/public';
import { DockerCharts } from '../../../charts/container_charts';
import { DockerCharts } from '../../../charts/docker_charts';
import { INTEGRATIONS } from '../../../constants';
import { useIntegrationCheck } from '../../../hooks/use_integration_check';
import { KubernetesContainerCharts } from '../../../charts/kubernetes_charts';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { EuiFlexGroup, EuiFlexGrid } from '@elastic/eui';
import type { TimeRange } from '@kbn/es-query';
import type { DataView } from '@kbn/data-views-plugin/public';
import { useTabSwitcherContext } from '../../../hooks/use_tab_switcher';
import { HostCharts, KubernetesCharts } from '../../../charts';
import { HostCharts, KubernetesNodeCharts } from '../../../charts';
import { ContentTabIds } from '../../../types';

interface Props {
Expand All @@ -33,7 +33,7 @@ export const HostMetrics = (props: Props) => {
<HostCharts {...props} metric="network" onShowAll={onClick} overview />
</EuiFlexGrid>
<HostCharts {...props} metric="disk" onShowAll={onClick} overview />
<KubernetesCharts {...props} onShowAll={onClick} overview />
<KubernetesNodeCharts {...props} onShowAll={onClick} overview />
</EuiFlexGroup>
);
};

0 comments on commit 7753742

Please sign in to comment.