Skip to content

Commit

Permalink
Use deployment id instead of cloud id in tutorial link (#104779)
Browse files Browse the repository at this point in the history
Fixes #104611.
  • Loading branch information
smith authored Jul 8, 2021
1 parent a7fe96a commit fa8dd56
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
7 changes: 4 additions & 3 deletions x-pack/plugins/apm/server/tutorial/envs/elastic_cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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 },
}),
},
],
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "単位を選択",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "选择单位",
Expand Down

0 comments on commit fa8dd56

Please sign in to comment.