Skip to content

Commit a75d71f

Browse files
sorenlouvformgeist
andcommitted
[APM] Consistent terminology for latency and throughput (#88452)
Co-authored-by: Casper Hübertz <casper@formgeist.com>
1 parent 83de2af commit a75d71f

12 files changed

Lines changed: 20 additions & 21 deletions

File tree

x-pack/plugins/apm/common/alert_types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const ALERT_TYPES_CONFIG: Record<
4646
},
4747
[AlertType.TransactionDuration]: {
4848
name: i18n.translate('xpack.apm.transactionDurationAlert.name', {
49-
defaultMessage: 'Transaction duration threshold',
49+
defaultMessage: 'Latency threshold',
5050
}),
5151
actionGroups: [THRESHOLD_MET_GROUP],
5252
defaultActionGroupId: THRESHOLD_MET_GROUP_ID,
@@ -55,7 +55,7 @@ export const ALERT_TYPES_CONFIG: Record<
5555
},
5656
[AlertType.TransactionDurationAnomaly]: {
5757
name: i18n.translate('xpack.apm.transactionDurationAnomalyAlert.name', {
58-
defaultMessage: 'Transaction duration anomaly',
58+
defaultMessage: 'Latency anomaly',
5959
}),
6060
actionGroups: [THRESHOLD_MET_GROUP],
6161
defaultActionGroupId: THRESHOLD_MET_GROUP_ID,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Feature: APM
22

3-
Scenario: Transaction duration charts
3+
Scenario: Transaction latency charts
44
Given a user browses the APM UI application
55
When the user inspects the opbeans-node service
66
Then should redirect to correct path

x-pack/plugins/apm/public/application/action_menu/alerting_popover_flyout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const alertLabel = i18n.translate('xpack.apm.home.alertsMenu.alerts', {
2121
});
2222
const transactionDurationLabel = i18n.translate(
2323
'xpack.apm.home.alertsMenu.transactionDuration',
24-
{ defaultMessage: 'Transaction duration' }
24+
{ defaultMessage: 'Latency' }
2525
);
2626
const transactionErrorRateLabel = i18n.translate(
2727
'xpack.apm.home.alertsMenu.transactionErrorRate',
@@ -112,7 +112,7 @@ export function AlertingPopoverAndFlyout({
112112
],
113113
},
114114

115-
// transaction duration panel
115+
// latency panel
116116
{
117117
id: CREATE_TRANSACTION_DURATION_ALERT_PANEL_ID,
118118
title: transactionDurationLabel,

x-pack/plugins/apm/public/components/alerting/register_apm_alerts.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function registerApmAlerts(
4646
'xpack.apm.alertTypes.transactionDuration.description',
4747
{
4848
defaultMessage:
49-
'Alert when the duration of a specific transaction type in a service exceeds a defined threshold.',
49+
'Alert when the latency of a specific transaction type in a service exceeds a defined threshold.',
5050
}
5151
),
5252
iconClass: 'bell',
@@ -68,8 +68,8 @@ export function registerApmAlerts(
6868
- Service name: \\{\\{context.serviceName\\}\\}
6969
- Type: \\{\\{context.transactionType\\}\\}
7070
- Environment: \\{\\{context.environment\\}\\}
71-
- Threshold: \\{\\{context.threshold\\}\\}ms
72-
- Triggered value: \\{\\{context.triggerValue\\}\\} over the last \\{\\{context.interval\\}\\}`,
71+
- Latency threshold: \\{\\{context.threshold\\}\\}ms
72+
- Latency observed: \\{\\{context.triggerValue\\}\\} over the last \\{\\{context.interval\\}\\}`,
7373
}
7474
),
7575
});
@@ -113,8 +113,7 @@ export function registerApmAlerts(
113113
description: i18n.translate(
114114
'xpack.apm.alertTypes.transactionDurationAnomaly.description',
115115
{
116-
defaultMessage:
117-
'Alert when the overall transaction duration of a service is considered anomalous.',
116+
defaultMessage: 'Alert when the latency of a service is abnormal.',
118117
}
119118
),
120119
iconClass: 'bell',

x-pack/plugins/apm/public/components/app/ServiceMap/Popover/ServiceStatsList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function ServiceStatsList({
4141
title: i18n.translate(
4242
'xpack.apm.serviceMap.avgTransDurationPopoverStat',
4343
{
44-
defaultMessage: 'Trans. duration (avg.)',
44+
defaultMessage: 'Latency (avg.)',
4545
}
4646
),
4747
description: isNumber(transactionStats.avgTransactionDuration)
@@ -52,7 +52,7 @@ export function ServiceStatsList({
5252
title: i18n.translate(
5353
'xpack.apm.serviceMap.avgReqPerMinutePopoverMetric',
5454
{
55-
defaultMessage: 'Req. per minute (avg.)',
55+
defaultMessage: 'Throughput (avg.)',
5656
}
5757
),
5858
description: asTransactionRate(transactionStats.avgRequestsPerMinute),

x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function AnomalyDetection() {
7575
<EuiSpacer size="l" />
7676
<EuiText>
7777
{i18n.translate('xpack.apm.settings.anomalyDetection.descriptionText', {
78-
defaultMessage: `Machine Learning's anomaly detection integration enables application health status indicators for services in each configured environment by identifying transaction duration anomalies.`,
78+
defaultMessage: `Machine Learning's anomaly detection integration enables application health status indicators for services in each configured environment by identifying anomalies in latency.`,
7979
})}
8080
</EuiText>
8181
<EuiSpacer size="l" />

x-pack/plugins/apm/public/components/app/TraceOverview/TraceList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const traceListColumns: Array<ITableColumn<TraceGroup>> = [
6868
{
6969
field: 'averageResponseTime',
7070
name: i18n.translate('xpack.apm.tracesTable.avgResponseTimeColumnLabel', {
71-
defaultMessage: 'Avg. response time',
71+
defaultMessage: 'Latency (avg.)',
7272
}),
7373
sortable: true,
7474
dataType: 'number',
@@ -91,7 +91,7 @@ const traceListColumns: Array<ITableColumn<TraceGroup>> = [
9191
'xpack.apm.tracesTable.impactColumnDescription',
9292
{
9393
defaultMessage:
94-
"The most used and slowest endpoints in your service. It's calculated by taking the relative average duration times the number of transactions per minute.",
94+
'The most used and slowest endpoints in your service. It is the result of multiplying latency and throughput',
9595
}
9696
)}
9797
>

x-pack/plugins/apm/public/components/app/TransactionDetails/Distribution/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export function TransactionDistribution({
162162
{i18n.translate(
163163
'xpack.apm.transactionDetails.transactionsDurationDistributionChartTitle',
164164
{
165-
defaultMessage: 'Transactions duration distribution',
165+
defaultMessage: 'Latency distribution',
166166
}
167167
)}{' '}
168168
<EuiIconTip

x-pack/plugins/apm/public/components/app/TransactionDetails/WaterfallWithSummmary/WaterfallContainer/Waterfall/waterfall_helpers/waterfall_helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface IWaterfall {
3232
rootTransaction?: Transaction;
3333

3434
/**
35-
* Duration in us
35+
* Latency in us
3636
*/
3737
duration: number;
3838
items: IWaterfallItem[];
@@ -53,7 +53,7 @@ interface IWaterfallItemBase<T, U> {
5353
parentId?: string;
5454

5555
/**
56-
* Duration in us
56+
* Latency in us
5757
*/
5858
duration: number;
5959

x-pack/plugins/apm/public/components/app/transaction_overview/TransactionList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function TransactionList({ items, isLoading }: Props) {
126126
'xpack.apm.transactionsTable.impactColumnDescription',
127127
{
128128
defaultMessage:
129-
"The most used and slowest endpoints in your service. It's calculated by taking the relative average duration times the number of transactions per minute.",
129+
'The most used and slowest endpoints in your service. It is the result of multiplying latency and throughput',
130130
}
131131
)}
132132
/>

0 commit comments

Comments
 (0)