Use deployment id instead of cloud id in tutorial link (#104779)

Fixes #104611.
This commit is contained in:
Nathan L Smith 2021-07-08 12:28:00 -05:00 committed by GitHub
parent a7fe96a428
commit fa8dd5603e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -46,7 +46,8 @@ export function createElasticCloudInstructions(
function getApmServerInstructionSet(
cloudSetup?: CloudSetup
): InstructionSetSchema {
const cloudId = cloudSetup?.cloudId;
const deploymentId = cloudSetup?.deploymentId;
return {
title: i18n.translate('xpack.apm.tutorial.apmServer.title', {
defaultMessage: 'APM Server',
@ -59,8 +60,8 @@ function getApmServerInstructionSet(
title: 'Enable the APM Server in the ESS console',
textPre: i18n.translate('xpack.apm.tutorial.elasticCloud.textPre', {
defaultMessage:
'To enable the APM Server go to [the Elastic Cloud console](https://cloud.elastic.co/deployments?q={cloudId}) and enable APM in the deployment settings. Once enabled, refresh this page.',
values: { cloudId },
'To enable the APM Server go to [the Elastic Cloud console](https://cloud.elastic.co/deployments/{deploymentId}/edit) and enable APM in the deployment settings. Once enabled, refresh this page.',
values: { deploymentId },
}),
},
],

View file

@ -5937,7 +5937,6 @@
"xpack.apm.transactionsTable.notFoundLabel": "トランザクションが見つかりませんでした。",
"xpack.apm.transactionsTable.throughputColumnLabel": "スループット",
"xpack.apm.tutorial.apmServer.title": "APM Server",
"xpack.apm.tutorial.elasticCloud.textPre": "APM Server を有効にするには、[the Elastic Cloud console] (https://cloud.elastic.co/deployments?q={cloudId}) に移動し、展開設定で APM を有効にします。有効になったら、このページを更新してください。",
"xpack.apm.tutorial.elasticCloudInstructions.title": "APM エージェント",
"xpack.apm.tutorial.specProvider.artifacts.application.label": "APM を起動",
"xpack.apm.unitLabel": "単位を選択",

View file

@ -5975,7 +5975,6 @@
"xpack.apm.transactionsTable.notFoundLabel": "未找到任何事务。",
"xpack.apm.transactionsTable.throughputColumnLabel": "吞吐量",
"xpack.apm.tutorial.apmServer.title": "APM Server",
"xpack.apm.tutorial.elasticCloud.textPre": "要启用 APM Server请前往 [Elastic Cloud 控制台](https://cloud.elastic.co/deployments?q={cloudId}) 并在部署设置中启用 APM。启用后请刷新此页面。",
"xpack.apm.tutorial.elasticCloudInstructions.title": "APM 代理",
"xpack.apm.tutorial.specProvider.artifacts.application.label": "启动 APM",
"xpack.apm.unitLabel": "选择单位",