- Anomaly detector alerts are powered by the
-
-
- Alerting plugin
-
- . If you don't see
-
- Alerting in your navigation panel, install it first and follow the instructions below to set up alerts.
-
-
-
-
-
-
-
-
- 1
-
-
- Create a monitor
-
-
-
-
- A monitor queries a detector on a specific schedule. In Alerting, choose "Define using anomaly detector".
-
-
-
-
-
-
- 2
-
-
- Define triggers and actions
-
-
-
-
- Triggers specify the thresholds for anomalies to generate alerts. Actions specify the alert message and destination.
-
-
-
-
-
-
- 3
-
-
- View alerts from detector and monitor
-
-
-
-
- View anomaly detector alerts on the anomaly history graph. See details of all alerts over time from the monitor.
-
- Anomaly detector alerts are powered by the
-
-
- Alerting plugin
-
- . If you don't see
-
- Alerting in your navigation panel, install it first and follow the instructions below to set up alerts.
-
-
-
-
-
-
-
-
- 1
-
-
- Create a monitor
-
-
-
-
- A monitor queries a detector on a specific schedule. In Alerting, choose "Define using anomaly detector".
-
-
-
-
-
-
- 2
-
-
- Define triggers and actions
-
-
-
-
- Triggers specify the thresholds for anomalies to generate alerts. Actions specify the alert message and destination.
-
-
-
-
-
-
- 3
-
-
- View alerts from detector and monitor
-
-
-
-
- View anomaly detector alerts on the anomaly history graph. See details of all alerts over time from the monitor.
-
@@ -108,6 +127,22 @@ exports[` spec Alert Stat renders component with monitor and not l
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
+
+
+ (opens in a new tab or window)
+
diff --git a/public/pages/AnomalyCharts/components/FeatureChart/FeatureChart.tsx b/public/pages/AnomalyCharts/components/FeatureChart/FeatureChart.tsx
index 1c4c46f8..29773470 100644
--- a/public/pages/AnomalyCharts/components/FeatureChart/FeatureChart.tsx
+++ b/public/pages/AnomalyCharts/components/FeatureChart/FeatureChart.tsx
@@ -19,7 +19,7 @@ import {
Settings,
ScaleType,
LineAnnotation,
- AnnotationDomainTypes,
+ AnnotationDomainType,
} from '@elastic/charts';
import { EuiText, EuiLink, EuiButton, EuiIcon } from '@elastic/eui';
import React, { useState, Fragment } from 'react';
@@ -222,7 +222,7 @@ export const FeatureChart = (props: FeatureChartProps) => {
? [
}
/>
diff --git a/public/pages/AnomalyCharts/containers/__tests__/__snapshots__/AnomalyHeatmapChart.test.tsx.snap b/public/pages/AnomalyCharts/containers/__tests__/__snapshots__/AnomalyHeatmapChart.test.tsx.snap
index 6c1c96d0..bad12782 100644
--- a/public/pages/AnomalyCharts/containers/__tests__/__snapshots__/AnomalyHeatmapChart.test.tsx.snap
+++ b/public/pages/AnomalyCharts/containers/__tests__/__snapshots__/AnomalyHeatmapChart.test.tsx.snap
@@ -17,7 +17,7 @@ exports[` spec AnomalyHeatmapChart with Sample anomaly da
>
spec AnomalyHeatmapChart with Sample anomaly da
aria-label="Remove Top 10 from selection in this group"
class="euiBadge__iconButton"
title="Remove Top 10 from selection in this group"
+ type="button"
>
spec AnomalyHeatmapChart with Sample anomaly da
style="min-width: 150px;"
>
-
-
+
+
-
- Select an option: By severity, is selected
-
-
-
+ Select an option: By severity, is selected
+
+
+
+
+
+
@@ -422,7 +425,7 @@ exports[` spec AnomalyHeatmapChart with anomaly summaries
>
spec AnomalyHeatmapChart with anomaly summaries
aria-label="Remove Top 10 from selection in this group"
class="euiBadge__iconButton"
title="Remove Top 10 from selection in this group"
+ type="button"
>
spec AnomalyHeatmapChart with anomaly summaries
style="min-width: 150px;"
>
-
-
+
+
-
- Select an option: By severity, is selected
-
-
-
+ Select an option: By severity, is selected
+
+
+
+
+
+
@@ -916,7 +922,7 @@ exports[` spec AnomalyHeatmapChart with multiple category
>
spec AnomalyHeatmapChart with multiple category
aria-label="Remove test-field-1 from selection in this group"
class="euiBadge__iconButton"
title="Remove test-field-1 from selection in this group"
+ type="button"
>
spec AnomalyHeatmapChart with multiple category
aria-label="Remove test-field-2 from selection in this group"
class="euiBadge__iconButton"
title="Remove test-field-2 from selection in this group"
+ type="button"
>
spec AnomalyHeatmapChart with multiple category
aria-label="Remove Top 10 from selection in this group"
class="euiBadge__iconButton"
title="Remove Top 10 from selection in this group"
+ type="button"
>
spec AnomalyHeatmapChart with multiple category
style="min-width: 150px;"
>
-
-
+
+
-
- Select an option: By severity, is selected
-
-
-
+ Select an option: By severity, is selected
+
+
+
+
+
+
@@ -1496,7 +1507,7 @@ exports[` spec AnomalyHeatmapChart with one category fiel
>
spec AnomalyHeatmapChart with one category fiel
aria-label="Remove test-field from selection in this group"
class="euiBadge__iconButton"
title="Remove test-field from selection in this group"
+ type="button"
>
spec AnomalyHeatmapChart with one category fiel
aria-label="Remove Top 10 from selection in this group"
class="euiBadge__iconButton"
title="Remove Top 10 from selection in this group"
+ type="button"
>
spec AnomalyHeatmapChart with one category fiel
style="min-width: 150px;"
>
-
-
+
+
-
- Select an option: By severity, is selected
-
-
-
+ Select an option: By severity, is selected
+
+
The aggregation method determines what constitutes an anomaly. For example, if you choose min(), the detector focuses on finding anomalies based on the minimum values of your feature.
diff --git a/public/pages/ConfigureModel/components/CategoryField/__tests__/__snapshots__/CategoryField.test.tsx.snap b/public/pages/ConfigureModel/components/CategoryField/__tests__/__snapshots__/CategoryField.test.tsx.snap
index 39031bf0..a1117607 100644
--- a/public/pages/ConfigureModel/components/CategoryField/__tests__/__snapshots__/CategoryField.test.tsx.snap
+++ b/public/pages/ConfigureModel/components/CategoryField/__tests__/__snapshots__/CategoryField.test.tsx.snap
@@ -6,7 +6,7 @@ exports[` spec renders the component when disabled 1`] = `
action="#"
>
spec renders the component when disabled 1`] = `
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
+
+
+ (opens in a new tab or window)
+
@@ -124,7 +140,7 @@ exports[` spec renders the component when enabled 1`] = `
action="#"
>
spec renders the component 1`] = `
>
When you're done, press Escape to stop editing.
-
+
spec renders the component 1`] = `
Custom expression uses the OpenSearch query DSL.
diff --git a/public/pages/ConfigureModel/containers/__tests__/ConfigureModel.test.tsx b/public/pages/ConfigureModel/containers/__tests__/ConfigureModel.test.tsx
index b4465173..9dbb0c03 100644
--- a/public/pages/ConfigureModel/containers/__tests__/ConfigureModel.test.tsx
+++ b/public/pages/ConfigureModel/containers/__tests__/ConfigureModel.test.tsx
@@ -17,7 +17,7 @@ import {
Route,
Switch,
} from 'react-router-dom';
-import { render, fireEvent, wait } from '@testing-library/react';
+import { render, fireEvent, waitFor } from '@testing-library/react';
import { ConfigureModel } from '../ConfigureModel';
import configureStore from '../../../../redux/configureStore';
import { httpClientMock, coreServicesMock } from '../../../../../test/mocks';
@@ -64,7 +64,7 @@ describe(' spec', () => {
test('validate all required fields', async () => {
const { getByText } = renderWithRouter();
fireEvent.click(getByText('Next'));
- await wait();
+ await waitFor(()=>{});
getByText('You must enter a feature name');
getByText('You must select a field');
});
diff --git a/public/pages/ConfigureModel/containers/__tests__/__snapshots__/ConfigureModel.test.tsx.snap b/public/pages/ConfigureModel/containers/__tests__/__snapshots__/ConfigureModel.test.tsx.snap
index e837b26a..fdf2f51c 100644
--- a/public/pages/ConfigureModel/containers/__tests__/__snapshots__/ConfigureModel.test.tsx.snap
+++ b/public/pages/ConfigureModel/containers/__tests__/__snapshots__/ConfigureModel.test.tsx.snap
@@ -2,14 +2,14 @@
exports[` spec creating model configuration renders the component 1`] = `
-
-
spec creating model configuration renders the compon
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
+
+
+ (opens in a new tab or window)
+
-
+
spec creating model configuration renders the compon
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
+
+
+ (opens in a new tab or window)
+
@@ -197,8 +229,11 @@ exports[` spec creating model configuration renders the compon
spec creating model configuration renders the compon
class="euiFormControlLayout__childrenWrapper"
>
spec creating model configuration renders the compon
Enter a descriptive name. The name must be unique within this detector. Feature name must contain 1-64 characters. Valid characters are a-z, A-Z, 0-9, -(hyphen) and _(underscore).
@@ -376,7 +411,7 @@ exports[` spec creating model configuration renders the compon
class="euiFormControlLayout__childrenWrapper"
>
spec creating model configuration renders the compon
The aggregation method determines what constitutes an anomaly. For example, if you choose min(), the detector focuses on finding anomalies based on the minimum values of your feature.
@@ -568,7 +603,7 @@ exports[` spec creating model configuration renders the compon
class="euiSpacer euiSpacer--l"
/>
spec creating model configuration renders the compon
width="16"
xmlns="http://www.w3.org/2000/svg"
/>
+
+
+ (opens in a new tab or window)
+
@@ -656,7 +707,7 @@ exports[` spec creating model configuration renders the compon
>
spec creating model configuration renders the compon
class="euiSpacer euiSpacer--l"
/>
spec creating model configuration renders the compon
class="euiSpacer euiSpacer--l"
/>
spec creating model configuration renders the compon
>
spec creating model configuration renders the compon
class="euiText euiText--small"
>
- You can preview how your anomalies may look like from sample feature output and adjust the feature settings as needed.
-
-
- Learn more
-
-
+ You can preview how your anomalies may look like from sample feature output and adjust the feature settings as needed.
+
+
+ Learn more
+
+
+
+ (opens in a new tab or window)
+
+
+
-
-
-
+
+
@@ -906,20 +977,20 @@ exports[` spec creating model configuration renders the compon
-
+
`;
exports[` spec editing model configuration renders the component 1`] = `
@@ -1120,8 +1229,11 @@ exports[` spec editing model configuration renders the compone
spec editing model configuration renders the compone
class="euiFormControlLayout__childrenWrapper"
>
spec editing model configuration renders the compone
Enter a descriptive name. The name must be unique within this detector. Feature name must contain 1-64 characters. Valid characters are a-z, A-Z, 0-9, -(hyphen) and _(underscore).
@@ -1304,7 +1416,7 @@ exports[` spec editing model configuration renders the compone
class="euiFormControlLayout__childrenWrapper"
>
spec editing model configuration renders the compone
The aggregation method determines what constitutes an anomaly. For example, if you choose min(), the detector focuses on finding anomalies based on the minimum values of your feature.
@@ -1506,7 +1618,7 @@ exports[` spec editing model configuration renders the compone
class="euiSpacer euiSpacer--l"
/>