Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Anomaly marker on Single Metric Viewer chart not always on correct chart bucket #22005

Closed
peteharverson opened this issue Aug 15, 2018 · 1 comment · Fixed by #22055
Closed
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v6.5.0

Comments

@peteharverson
Copy link
Contributor

If the aggregation interval used for plotting data in the Single Metric Viewer chart is greater than the bucket span of the job, the marker indicating the anomaly may not always be positioned on the correct chart point.

Currently if there is not a chart point with the same time as the anomaly, the marker is placed on the chart point which is closest in time to the anomaly, which may be before or after the anomaly. This can lead to cases like the one shown below, where the marker does not seem to correspond to the anomaly in the data.

Here the job has a bucket span of 1 hour, whilst the chart data is plotted at 12 hour intervals. The time of the highlighted critical anomaly is from 10am to 11am on July 28th. The red marker is placed on the nearest chart point, at 1pm on July 28th, whereas the spike in the chart data is in the 1am point on July 28th:

image

If there is not a point in the chart which matches the time of the anomaly, the marker should be placed on the previous chart point which corresponds to the bucket containing the anomaly.

@peteharverson peteharverson added bug Fixes for quality problems that affect the customer experience :ml Feature:ml-results legacy - do not use v6.5.0 labels Aug 15, 2018
@peteharverson peteharverson self-assigned this Aug 15, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Anomaly Detection ML anomaly detection :ml v6.5.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants