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 Explorer charts do not obey the time picker range #70244

Closed
richcollier opened this issue Jun 29, 2020 · 5 comments
Closed

[ML] Anomaly Explorer charts do not obey the time picker range #70244

richcollier opened this issue Jun 29, 2020 · 5 comments
Assignees

Comments

@richcollier
Copy link

Kibana version:
7.8

When viewing several jobs with a wide variety of bucket spans (1m to 1h) - I've noticed that the thumbnail charts are often "squished" and show an odd time range that isn't governed by the global time-picker on the page. The end result looks like this:

image

Another aspect being ignored (or at least not taken into account) is when the user clicks on a tile in the swimlane, but also limits the range of time being investigated by the user.

However, I can sometimes get the charts to display something more sensible if I change the Severity Threshold setting:

image

But, this behavior is also inconsistent (doesn't always "fix" things).

Seems like we need to re-consider how time ranges in the thumbnails are really supposed to work in different situations.

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@peteharverson peteharverson added the Feature:Anomaly Detection ML anomaly detection label Jun 30, 2020
@peteharverson peteharverson changed the title [ML] - Thumbnails in Anomaly Explorer do not obey the time picker range - shouldn't they? [ML] Anomaly Explorer charts do not obey the time picker range Jun 30, 2020
@peteharverson peteharverson self-assigned this Oct 12, 2020
@peteharverson
Copy link
Contributor

Digging into this one a bit more has shown there are two issues that need fixing:

  1. The anomaly charts should obey the min / max set by the time picker on the Anomaly Explorer page.
  2. The time range of the charts is currently controlled by the job with the maximum bucket span, whereas it should be governed by the minimum bucket span. This leads to effects such as this, displaying charts from two jobs with bucket spans of 1m and 1h, where the chart for the 1m job ends up with far more points (7200) than the designed maximum of 500 points:

image

@peteharverson
Copy link
Contributor

peteharverson commented Oct 14, 2020

Fix to ensure the anomaly charts obey the time range of the time picker is in for 7.10.0 - #80317

@pheyos
Copy link
Member

pheyos commented Oct 15, 2020

I think the wording of the tooltip could be a bit confusing because in Kibana we usually mean something in the Dashboard app when talking about a dashboard (although the anomaly explorer technically is a dashboard).

2_apache_module_chart_bucket_warning

image (2)

@peteharverson
Copy link
Contributor

Closing as fixed by #80317 (7.10.0) and #81291 (7.10.1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants