mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[APM] Rename "Tags" -> "Labels" in span flyout (#33688)
* [APM] Closes #33486. Rename "Tags" -> "Labels" in span flyout. * Remove unused translation 'xpack.apm.transactionDetails.spanFlyout.tagsTabLabel'
This commit is contained in:
parent
8aa8c55002
commit
2c48da2417
2 changed files with 7 additions and 8 deletions
|
@ -57,10 +57,10 @@ export function SpanFlyout({
|
|||
const codeLanguage = idx(parentTransaction, _ => _.service.language.name);
|
||||
const dbContext = idx(span, _ => _.span.db);
|
||||
const httpContext = idx(span, _ => _.span.http);
|
||||
const labels = span.labels;
|
||||
const tags = keys(labels).map(key => ({
|
||||
const spanLabels = span.labels;
|
||||
const labels = keys(spanLabels).map(key => ({
|
||||
key,
|
||||
value: get(labels, key)
|
||||
value: get(spanLabels, key)
|
||||
}));
|
||||
|
||||
return (
|
||||
|
@ -123,11 +123,11 @@ export function SpanFlyout({
|
|||
)
|
||||
},
|
||||
{
|
||||
id: 'tags',
|
||||
id: 'labels',
|
||||
name: i18n.translate(
|
||||
'xpack.apm.transactionDetails.spanFlyout.tagsTabLabel',
|
||||
'xpack.apm.propertiesTable.tabs.labelsLabel',
|
||||
{
|
||||
defaultMessage: 'Tags'
|
||||
defaultMessage: 'Labels'
|
||||
}
|
||||
),
|
||||
content: (
|
||||
|
@ -144,7 +144,7 @@ export function SpanFlyout({
|
|||
field: 'value'
|
||||
}
|
||||
]}
|
||||
items={tags}
|
||||
items={labels}
|
||||
/>
|
||||
</Fragment>
|
||||
)
|
||||
|
|
|
@ -3435,7 +3435,6 @@
|
|||
"xpack.apm.transactionDetails.spanFlyout.spanDetailsTitle": "跨度详情",
|
||||
"xpack.apm.transactionDetails.spanFlyout.spanType.navigationTimingLabel": "导航定时",
|
||||
"xpack.apm.transactionDetails.spanFlyout.stackTraceTabLabel": "堆栈追溯",
|
||||
"xpack.apm.transactionDetails.spanFlyout.tagsTabLabel": "标记",
|
||||
"xpack.apm.transactionDetails.spanFlyout.typeLabel": "类型",
|
||||
"xpack.apm.transactionDetails.spanFlyout.viewSpanInDiscoverButtonLabel": "在 Discover 中查看跨度",
|
||||
"xpack.apm.transactionDetails.timestampLabel": "时间戳",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue