diff --git a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx b/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx
index e3d1693eb3c4a..87620dde12f40 100644
--- a/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx
+++ b/x-pack/plugins/ml/public/application/components/anomalies_table/anomaly_details_utils.tsx
@@ -10,14 +10,13 @@ import React from 'react';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';
import {
- EuiToolTip,
- EuiIcon,
EuiFlexGroup,
EuiFlexItem,
useEuiTheme,
EuiText,
EuiSpacer,
EuiLink,
+ EuiIconTip,
} from '@elastic/eui';
import {
getAnomalyScoreExplanationImpactValue,
@@ -231,43 +230,49 @@ export const DetailsItems: FC<{
items.push({
title: (
-
+ {i18n.translate('xpack.ml.anomaliesTable.anomalyDetails.recordScoreTitle', {
+ defaultMessage: 'Record score',
})}
- >
-
- {i18n.translate('xpack.ml.anomaliesTable.anomalyDetails.recordScoreTitle', {
- defaultMessage: 'Record score',
+
+
-
-
+ />
+
),
description: Math.floor(1000 * source.record_score) / 1000,
});
items.push({
title: (
-
-
- {i18n.translate('xpack.ml.anomaliesTable.anomalyDetails.initialRecordScoreTitle', {
- defaultMessage: 'Initial record score',
- })}
-
-
-
+
+ {i18n.translate('xpack.ml.anomaliesTable.anomalyDetails.initialRecordScoreTitle', {
+ defaultMessage: 'Initial record score',
+ })}
+
+
+
),
description: Math.floor(1000 * source.initial_record_score) / 1000,
});
@@ -368,24 +373,27 @@ export const AnomalyExplanationDetails: FC<{ anomaly: MlAnomaliesTableRecord }>
if (scoreDifference > ACCEPTABLE_NORMALIZATION) {
explanationDetails.push({
title: (
-
-
-
-
-
-
+
+
+
+
+
),
description: (
@@ -406,21 +414,24 @@ export const AnomalyExplanationDetails: FC<{ anomaly: MlAnomaliesTableRecord }>
if (explanation.anomaly_characteristics_impact !== undefined) {
impactDetails.push({
title: (
-
-
-
-
-
-
+
+
+
+
+
),
description: ,
});
@@ -429,18 +440,21 @@ export const AnomalyExplanationDetails: FC<{ anomaly: MlAnomaliesTableRecord }>
if (explanation.single_bucket_impact !== undefined) {
impactDetails.push({
title: (
-
-
-
-
-
-
+
+
+
+
+
),
description: ,
});
@@ -448,18 +462,21 @@ export const AnomalyExplanationDetails: FC<{ anomaly: MlAnomaliesTableRecord }>
if (explanation.multi_bucket_impact !== undefined) {
impactDetails.push({
title: (
-
-
-
-
-
-
+
+
+
+
+
),
description: ,
});
@@ -467,24 +484,27 @@ export const AnomalyExplanationDetails: FC<{ anomaly: MlAnomaliesTableRecord }>
if (explanation.high_variance_penalty !== undefined) {
impactDetails.push({
title: (
-
-
-
-
-
-
+
+
+
+
+
),
description: explanation.high_variance_penalty ? yes : no,
});
@@ -492,24 +512,27 @@ export const AnomalyExplanationDetails: FC<{ anomaly: MlAnomaliesTableRecord }>
if (explanation.multimodal_distribution !== undefined) {
impactDetails.push({
title: (
-
-
-
-
-
-
+
+
+
+
+
),
description: explanation.multimodal_distribution ? yes : no,
});
@@ -517,24 +540,27 @@ export const AnomalyExplanationDetails: FC<{ anomaly: MlAnomaliesTableRecord }>
if (explanation.incomplete_bucket_penalty !== undefined) {
impactDetails.push({
title: (
-
-
-
-
-
-
+
+
+
+
+
),
description: explanation.incomplete_bucket_penalty ? yes : no,
});