Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
CoenWarmer committed May 10, 2023
1 parent c5e3063 commit 5147bc3
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import React from 'react';

import { i18n } from '@kbn/i18n';

import { METRIC_TYPE, useTrackMetric } from '@kbn/observability-plugin/public';
import {
METRIC_TYPE,
useTrackMetric,
} from '@kbn/observability-shared-plugin/public';

import { isActivePlatinumLicense } from '../../../../common/license_check';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ import React from 'react';

import { i18n } from '@kbn/i18n';

import { METRIC_TYPE, useTrackMetric } from '@kbn/observability-plugin/public';
import {
METRIC_TYPE,
useTrackMetric,
} from '@kbn/observability-shared-plugin/public';

import { isActivePlatinumLicense } from '../../../../common/license_check';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

import { i18n } from '@kbn/i18n';
import React from 'react';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-plugin/public';
import {
METRIC_TYPE,
useUiTracker,
} from '@kbn/observability-shared-plugin/public';
import {
SERVICE_NAME,
SPAN_DESTINATION_SERVICE_RESOURCE,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ import type {
} from '@kbn/observability-shared-plugin/public';
import {
FetchDataParams,
METRIC_TYPE,
ObservabilityPublicSetup,
ObservabilityPublicStart,
} from '@kbn/observability-plugin/public';
import { METRIC_TYPE } from '@kbn/observability-shared-plugin/public';
import type {
TriggersAndActionsUIPublicPluginSetup,
TriggersAndActionsUIPublicPluginStart,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import React from 'react';
import { EuiButton } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-plugin/public';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-shared-plugin/public';
import { TELEMETRY_METRIC_BUTTON_CLICK } from '../../../common/constants';
import { SetupModeExitButton } from './exit_button';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useParams } from 'react-router-dom';
import { useDispatch, useSelector } from 'react-redux';
import { EuiEmptyPrompt } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { useTrackPageview, useFetcher } from '@kbn/observability-plugin/public';
import { useTrackPageview, useFetcher } from '@kbn/observability-shared-plugin/public';
import { IHttpFetchError, ResponseErrorBody } from '@kbn/core-http-browser';
import { EditMonitorNotFound } from './edit_monitor_not_found';
import { LoadingState } from '../monitors_page/overview/overview/monitor_detail_flyout';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
EuiFlexItem,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-plugin/public';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-shared-plugin/public';
import { Table } from './waterfall_flyout_table';
import { MiddleTruncatedText } from '../middle_truncated_text';
import { WaterfallMetadataEntry } from '../../../common/network_data/types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import React, { useEffect, useState } from 'react';
import { i18n } from '@kbn/i18n';
import { EuiFieldSearch, EuiFlexGroup, EuiText, useEuiTheme } from '@elastic/eui';
import useDebounce from 'react-use/lib/useDebounce';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-plugin/public';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-shared-plugin/public';
import { FILTER_REQUESTS_LABEL, SEARCH_REQUESTS_LABEL } from '../translations';
import { NetworkRequestsTotal } from './network_requests_total';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import React, { useCallback, useMemo, useState } from 'react';
import { EuiHealth } from '@elastic/eui';
import { useTrackMetric, METRIC_TYPE } from '@kbn/observability-plugin/public';
import { useTrackMetric, METRIC_TYPE } from '@kbn/observability-shared-plugin/public';
import { getSeriesAndDomain, getSidebarItems, getLegendItems } from './data_formatting';
import { SidebarItem, LegendItem, NetworkItems } from './types';
import { WaterfallProvider, WaterfallChart, RenderItem, useFlyout } from '../../waterfall';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
EuiSpacer,
} from '@elastic/eui';
import useDebounce from 'react-use/lib/useDebounce';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-plugin/public';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-shared-plugin/public';
import {
FILTER_REQUESTS_LABEL,
FILTER_SCREENREADER_LABEL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
EuiFlexItem,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-plugin/public';
import { METRIC_TYPE, useUiTracker } from '@kbn/observability-shared-plugin/public';
import { Table } from '../../waterfall/components/waterfall_flyout_table';
import { MiddleTruncatedText } from '../../waterfall';
import { WaterfallMetadataEntry } from '../../waterfall/types';
Expand Down

0 comments on commit 5147bc3

Please sign in to comment.