Skip to content

Commit

Permalink
[APM] Remove beta badge for AWS lambda (#126596)
Browse files Browse the repository at this point in the history
* Remove beta badge for AWS lambda
  • Loading branch information
gbamparop committed Mar 1, 2022
1 parent 058ad18 commit f886a7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
* 2.0.
*/

import {
EuiBadge,
EuiDescriptionList,
EuiBetaBadge,
EuiFlexGroup,
EuiFlexItem,
} from '@elastic/eui';
import { EuiBadge, EuiDescriptionList } from '@elastic/eui';
import { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list';
import { i18n } from '@kbn/i18n';
import React from 'react';
Expand Down Expand Up @@ -51,32 +45,7 @@ export function CloudDetails({ cloud, isServerless }: Props) {
defaultMessage: 'Cloud service',
}
),
description: (
<EuiFlexGroup alignItems="center" gutterSize="xs">
<EuiFlexItem grow={false}>{cloud.serviceName}</EuiFlexItem>
{isServerless && (
<EuiFlexItem grow={false}>
<EuiBetaBadge
label={i18n.translate(
'xpack.apm.serviceIcons.serviceDetails.cloud.betaLabel',
{
defaultMessage: 'Beta',
}
)}
tooltipContent={i18n.translate(
'xpack.apm.serviceIcons.serviceDetails.cloud.betaTooltip',
{
defaultMessage:
'AWS Lambda support is not GA. Please help us by reporting bugs.',
}
)}
size="s"
iconType="beaker"
/>
</EuiFlexItem>
)}
</EuiFlexGroup>
),
description: cloud.serviceName,
});
}

Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -7295,8 +7295,6 @@
"xpack.apm.serviceIcons.serverless": "サーバーレス",
"xpack.apm.serviceIcons.service": "サービス",
"xpack.apm.serviceIcons.serviceDetails.cloud.availabilityZoneLabel": "{zones, plural, other {可用性ゾーン}} ",
"xpack.apm.serviceIcons.serviceDetails.cloud.betaLabel": "ベータ",
"xpack.apm.serviceIcons.serviceDetails.cloud.betaTooltip": "AWS Lambdaサポートは一般公開されていません。不具合を報告して支援してください。",
"xpack.apm.serviceIcons.serviceDetails.cloud.faasTriggerTypeLabel": "{triggerTypes, plural, other {トリガータイプ}} ",
"xpack.apm.serviceIcons.serviceDetails.cloud.functionNameLabel": "{functionNames, plural, other {関数名}} ",
"xpack.apm.serviceIcons.serviceDetails.cloud.machineTypesLabel": "{machineTypes, plural, other {コンピュータータイプ} }\n ",
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -7312,8 +7312,6 @@
"xpack.apm.serviceIcons.serverless": "无服务器",
"xpack.apm.serviceIcons.service": "服务",
"xpack.apm.serviceIcons.serviceDetails.cloud.availabilityZoneLabel": "{zones, plural, other {可用性区域}} ",
"xpack.apm.serviceIcons.serviceDetails.cloud.betaLabel": "公测版",
"xpack.apm.serviceIcons.serviceDetails.cloud.betaTooltip": "AWS Lambda 支持不是 GA 版。请通过报告错误来帮助我们。",
"xpack.apm.serviceIcons.serviceDetails.cloud.faasTriggerTypeLabel": "{triggerTypes, plural, other {触发类型}} ",
"xpack.apm.serviceIcons.serviceDetails.cloud.functionNameLabel": "{functionNames, plural, other {功能名称}} ",
"xpack.apm.serviceIcons.serviceDetails.cloud.machineTypesLabel": "{machineTypes, plural, other {机器类型}} ",
Expand Down

0 comments on commit f886a7b

Please sign in to comment.