From abb1e2ac21926b99d1690af47675618a524d3c73 Mon Sep 17 00:00:00 2001 From: Quynh Nguyen Date: Tue, 15 Mar 2022 16:13:28 -0500 Subject: [PATCH] Add tooltip --- .../failed_transactions_correlations.tsx | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx b/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx index 37b3f6376cbc6..c970838f8b8c3 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx @@ -230,14 +230,30 @@ export function FailedTransactionsCorrelations({ width: '116px', field: 'normalizedScore', name: ( - <> - {i18n.translate( - 'xpack.apm.correlations.failedTransactions.correlationsTable.scoreLabel', + + > + <> + {i18n.translate( + 'xpack.apm.correlations.failedTransactions.correlationsTable.scoreLabel', + { + defaultMessage: 'Score', + } + )} + + + ), render: (_, { normalizedScore }) => { return
{asPreciseDecimal(normalizedScore, 2)}
;