Skip to content

Commit

Permalink
Rename Backend to Dependency (#124067)
Browse files Browse the repository at this point in the history
* Rename Backend to Dependency which was missed in #110523

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
tobiasstadler and kibanamachine committed Feb 8, 2022
1 parent ce094b9 commit 73cc08e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function StickySpanProperties({ span, transaction }: Props) {
});

const spanName = span.span.name;
const backendName = span.span.destination?.service.resource;
const dependencyName = span.span.destination?.service.resource;

const transactionStickyProperties = transaction
? [
Expand Down Expand Up @@ -98,21 +98,21 @@ export function StickySpanProperties({ span, transaction }: Props) {
]
: [];

const backendStickyProperties = backendName
const dependencyStickyProperties = dependencyName
? [
{
label: i18n.translate(
'xpack.apm.transactionDetails.spanFlyout.backendLabel',
'xpack.apm.transactionDetails.spanFlyout.dependencyLabel',
{
defaultMessage: 'Backend',
defaultMessage: 'Dependency',
}
),
fieldName: SPAN_DESTINATION_SERVICE_RESOURCE,
val: (
<BackendLink
query={{
...query,
backendName,
backendName: dependencyName,
}}
subtype={span.span.subtype}
type={span.span.type}
Expand Down Expand Up @@ -143,7 +143,7 @@ export function StickySpanProperties({ span, transaction }: Props) {
truncated: true,
width: '25%',
},
...backendStickyProperties,
...dependencyStickyProperties,
...transactionStickyProperties,
];

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 @@ -7114,7 +7114,6 @@
"xpack.apm.transactionDetails.resultLabel": "結果",
"xpack.apm.transactionDetails.serviceLabel": "サービス",
"xpack.apm.transactionDetails.servicesTitle": "サービス",
"xpack.apm.transactionDetails.spanFlyout.backendLabel": "バックエンド",
"xpack.apm.transactionDetails.spanFlyout.compositeExampleWarning": "これは連続した類似したスパンのグループのサンプルドキュメントです",
"xpack.apm.transactionDetails.spanFlyout.databaseStatementTitle": "データベースステートメント",
"xpack.apm.transactionDetails.spanFlyout.nameLabel": "名前",
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 @@ -6926,7 +6926,6 @@
"xpack.apm.transactionDetails.resultLabel": "结果",
"xpack.apm.transactionDetails.serviceLabel": "服务",
"xpack.apm.transactionDetails.servicesTitle": "服务",
"xpack.apm.transactionDetails.spanFlyout.backendLabel": "后端",
"xpack.apm.transactionDetails.spanFlyout.compositeExampleWarning": "这是一组连续、相似跨度的样例文档",
"xpack.apm.transactionDetails.spanFlyout.databaseStatementTitle": "数据库语句",
"xpack.apm.transactionDetails.spanFlyout.nameLabel": "名称",
Expand Down

0 comments on commit 73cc08e

Please sign in to comment.