Skip to content

Commit

Permalink
Fix Azure metrics tutorial inside the App Home/ Add data area (#66901)
Browse files Browse the repository at this point in the history
* fix azure metrics home data

* fix translations

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
narph and elasticmachine authored May 25, 2020
1 parent 9d84a86 commit 7dc3da4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 11 additions & 8 deletions src/plugins/home/server/tutorials/azure_metrics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function azureMetricsSpecProvider(context: TutorialContext): TutorialSche
name: i18n.translate('home.tutorials.azureMetrics.nameTitle', {
defaultMessage: 'Azure metrics',
}),
isBeta: true,
isBeta: false,
category: TutorialsCategory.METRICS,
shortDescription: i18n.translate('home.tutorials.azureMetrics.shortDescription', {
defaultMessage: 'Fetch Azure Monitor metrics.',
Expand All @@ -51,18 +51,21 @@ export function azureMetricsSpecProvider(context: TutorialContext): TutorialSche
}),
euiIconType: 'logoAzure',
artifacts: {
application: {
label: i18n.translate('home.tutorials.azureMetrics.artifacts.application.label', {
defaultMessage: 'Discover',
}),
path: '/app/discover#/',
},
dashboards: [],
dashboards: [
{
id: 'eb3f05f0-ea9a-11e9-90ec-112a988266d5',
linkLabel: i18n.translate('home.tutorials.azureMetrics.artifacts.dashboards.linkLabel', {
defaultMessage: 'Azure metrics dashboard',
}),
isOverview: true,
},
],
exportedFields: {
documentationUrl: '{config.docs.beats.metricbeat}/exported-fields-azure.html',
},
},
completionTimeMinutes: 10,
previewImagePath: '/plugins/home/assets/azure_metrics/screenshot.png',
onPrem: onPremInstructions(moduleName, context),
elasticCloud: cloudInstructions(moduleName),
onPremElasticCloud: onPremCloudInstructions(moduleName),
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@
"home.tutorials.awsMetrics.longDescription": "Metricbeat モジュール「aws」は、AWS API と Cloudwatch から監視メトリックを取得します。[詳細]({learnMoreLink})。",
"home.tutorials.awsMetrics.nameTitle": "AWS メトリック",
"home.tutorials.awsMetrics.shortDescription": "AWS API と Cloudwatch からの EC2 インスタンスの監視メトリックです。",
"home.tutorials.azureMetrics.artifacts.application.label": "発見",
"home.tutorials.azureMetrics.artifacts.dashboards.linkLabel": "Azure メトリックダッシュボード",
"home.tutorials.azureMetrics.longDescription": "Metricbeat モジュール「azure」は、Azure から監視メトリックを取得します。[詳細]({learnMoreLink})。",
"home.tutorials.azureMetrics.nameTitle": "Azure メトリック",
"home.tutorials.azureMetrics.shortDescription": "Azure 監視メトリックをフェッチします。",
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@
"home.tutorials.awsMetrics.longDescription": "Metricbeat 模块 `aws` 从 AWS API 和 Cloudwatch 提取监测指标。[了解详情]({learnMoreLink})。",
"home.tutorials.awsMetrics.nameTitle": "AWS 指标",
"home.tutorials.awsMetrics.shortDescription": "从 AWS API 和 Cloudwatch 提取 EC2 实例的监测指标。",
"home.tutorials.azureMetrics.artifacts.application.label": "Discover",
"home.tutorials.azureMetrics.artifacts.dashboards.linkLabel": "Azure 指标仪表板",
"home.tutorials.azureMetrics.longDescription": "Metricbeat 模块 `azure` 提取 Azure Monitor 指标。[了解详情]({learnMoreLink})。",
"home.tutorials.azureMetrics.nameTitle": "Azure 指标",
"home.tutorials.azureMetrics.shortDescription": "提取 Azure Monitor 指标。",
Expand Down

0 comments on commit 7dc3da4

Please sign in to comment.