forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[APM] Replace custom map with link to Client Side Monitoring (elastic…
…#77458) * Closes elastic#48538 by removing the average duration by country custom geo map. * adds link to client side monitoring below the rum charts * removes unused translations * Removes RUM-specific chart for Avg Duration By Browser * Replace link under charts with CallOut above charts with link to Client Side Monitoring * removes api integration tests for avg_duration_by_browser and usused i18n translations * updates to copy in the CSM callout
- Loading branch information
Showing
26 changed files
with
56 additions
and
1,636 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
x-pack/plugins/apm/public/components/app/TransactionOverview/ClientSideMonitoringCallout.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import React from 'react'; | ||
import { EuiButton, EuiCallOut, EuiSpacer, EuiText } from '@elastic/eui'; | ||
import { i18n } from '@kbn/i18n'; | ||
import { useApmPluginContext } from '../../../hooks/useApmPluginContext'; | ||
|
||
export function ClientSideMonitoringCallout() { | ||
const { core } = useApmPluginContext(); | ||
const clientSideMonitoringHref = core.http.basePath.prepend(`/app/csm`); | ||
|
||
return ( | ||
<EuiCallOut | ||
iconType="cheer" | ||
title={i18n.translate( | ||
'xpack.apm.transactionOverview.clientSideMonitoring.calloutTitle', | ||
{ defaultMessage: 'Introducing: Client Side Monitoring' } | ||
)} | ||
> | ||
<EuiText> | ||
{i18n.translate( | ||
'xpack.apm.transactionOverview.clientSideMonitoring.calloutText', | ||
{ | ||
defaultMessage: | ||
'We are beyond excited to introduce a new experience for analyzing the user experience metrics specifically for your RUM services. It provides insights into the core vitals and visitor breakdown by browser and location. The app is always available in the left sidebar among the other Observability views.', | ||
} | ||
)} | ||
</EuiText> | ||
<EuiSpacer size="m" /> | ||
<EuiButton href={clientSideMonitoringHref}> | ||
{i18n.translate( | ||
'xpack.apm.transactionOverview.clientSideMonitoring.linkLabel', | ||
{ defaultMessage: 'Take me there' } | ||
)} | ||
</EuiButton> | ||
</EuiCallOut> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
...k/plugins/apm/public/components/shared/charts/TransactionCharts/BrowserLineChart.test.tsx
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
x-pack/plugins/apm/public/components/shared/charts/TransactionCharts/BrowserLineChart.tsx
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
...apm/public/components/shared/charts/TransactionCharts/ChoroplethMap/ChoroplethToolTip.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.