[Observability] Update empty state links (#72025)

* changing links

* changing title
This commit is contained in:
Cauê Marcondes 2020-07-16 13:18:01 +01:00 committed by GitHub
parent 5ecf31712a
commit 77d6c4e5fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ export const getEmptySections = ({ core }: { core: AppMountContext['core'] }): I
linkTitle: i18n.translate('xpack.observability.emptySection.apps.logs.link', { linkTitle: i18n.translate('xpack.observability.emptySection.apps.logs.link', {
defaultMessage: 'Install Filebeat', defaultMessage: 'Install Filebeat',
}), }),
href: 'https://www.elastic.co', href: core.http.basePath.prepend('/app/home#/tutorial_directory/logging'),
}, },
{ {
id: 'apm', id: 'apm',
@ -35,9 +35,9 @@ export const getEmptySections = ({ core }: { core: AppMountContext['core'] }): I
'Trace transactions through a distributed architecture and map your services interactions to easily spot performance bottlenecks.', 'Trace transactions through a distributed architecture and map your services interactions to easily spot performance bottlenecks.',
}), }),
linkTitle: i18n.translate('xpack.observability.emptySection.apps.apm.link', { linkTitle: i18n.translate('xpack.observability.emptySection.apps.apm.link', {
defaultMessage: 'Install agent', defaultMessage: 'Install Agent',
}), }),
href: 'https://www.elastic.co', href: core.http.basePath.prepend('/app/home#/tutorial/apm'),
}, },
{ {
id: 'infra_metrics', id: 'infra_metrics',
@ -50,9 +50,9 @@ export const getEmptySections = ({ core }: { core: AppMountContext['core'] }): I
'Analyze metrics from your infrastructure, apps, and services. Discover trends, forecast behavior, get alerts on anomalies, and more.', 'Analyze metrics from your infrastructure, apps, and services. Discover trends, forecast behavior, get alerts on anomalies, and more.',
}), }),
linkTitle: i18n.translate('xpack.observability.emptySection.apps.metrics.link', { linkTitle: i18n.translate('xpack.observability.emptySection.apps.metrics.link', {
defaultMessage: 'Install metrics module', defaultMessage: 'Install Metricbeat',
}), }),
href: 'https://www.elastic.co', href: core.http.basePath.prepend('/app/home#/tutorial_directory/metrics'),
}, },
{ {
id: 'uptime', id: 'uptime',
@ -67,7 +67,7 @@ export const getEmptySections = ({ core }: { core: AppMountContext['core'] }): I
linkTitle: i18n.translate('xpack.observability.emptySection.apps.uptime.link', { linkTitle: i18n.translate('xpack.observability.emptySection.apps.uptime.link', {
defaultMessage: 'Install Heartbeat', defaultMessage: 'Install Heartbeat',
}), }),
href: 'https://www.elastic.co', href: core.http.basePath.prepend('/app/home#/tutorial/uptimeMonitors'),
}, },
{ {
id: 'alert', id: 'alert',