-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM] Replace custom map with link to Client Side Monitoring #77458
[APM] Replace custom map with link to Client Side Monitoring #77458
Conversation
Pinging @elastic/apm-ui (Team:apm) |
const { basePath } = core.http; | ||
const href = basePath.prepend(`/app/csm`); | ||
|
||
return <EuiLink {...props} href={href} />; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this use onClick and navigateToUrl to avoid page reload? https://www.elastic.co/guide/en/kibana/master/kibana-navigation.html#navigating-between-kibana-apps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made this open the CSM app in new tab, which is always a full page load. I'm not totally sure if we should open a new tab, so we could end up going with your suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're using the RedirectAppLinks
component so if it doesn't open in a new tab it will not cause a page reload.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm leaning toward not opening in new tab - but would be good to know if there is a consensus around this in Kibana.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should open in a new tab.
LGTM. @formgeist any thoughts on the design? |
I think we should remove the browser breakdown because this is also available in the new CSM experience. I would add an The link should not open in a new tab/window. |
Thanks @formgeist. Agree that browser breakdown should also be taken out as well. Callout looks better 👍 |
…nt Side Monitoring
7bee08e
to
ee9b5b5
Compare
…i18n translations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some suggested new copy for the callout. We probably should also think about not displaying this message if the CSM app is disabled. Adding to that, we might consider have another callout message for that case, so the user is aware they need to enable it to use it. I'll reach out to the RUM team to clarify.
<EuiButton href={clientSideMonitoringHref}> | ||
{i18n.translate( | ||
'xpack.apm.transactionOverview.clientSideMonitoring.linkLabel', | ||
{ defaultMessage: 'Learn more' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ defaultMessage: 'Learn more' } | |
{ defaultMessage: 'Take me there' } |
'xpack.apm.transactionOverview.clientSideMonitoring.calloutText', | ||
{ | ||
defaultMessage: | ||
'We are introducing a new app which contains breakdown information around browser and location by page load.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'We are introducing a new app which contains breakdown information around browser and location by page load.', | |
'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. ', |
iconType="cheer" | ||
title={i18n.translate( | ||
'xpack.apm.transactionOverview.clientSideMonitoring.calloutTitle', | ||
{ defaultMessage: 'New app: Client Side Monitoring' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ defaultMessage: 'New app: Client Side Monitoring' } | |
{ defaultMessage: 'Introducing: Client Side Monitoring' } |
This is not currently possible since APM and CSM are both enabled/disabled with the same config |
…duration-map-from-rum-view
💚 Build SucceededBuild metrics@kbn/optimizer bundle module count
async chunks size
distributable file count
History
To update your PR or re-run it, just comment with: |
…#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
…#78093) * Closes #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
Closes #48538 by replacing the RUM-specific charts (including the custom map for average duration by country) with a callout & link to the client side monitoring app which already displays this data.