-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Display metric rather than distribution chart for script field #34931
[ML] Display metric rather than distribution chart for script field #34931
Conversation
Pinging @elastic/ml-ui |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ⚡️ Just left a small comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💚 Build Succeeded |
Latests LGTM 🙌 |
💚 Build Succeeded |
…lastic#34931) * [ML] Display metric rather than distribution chart for script field * [ML] Cleaned up code in getChartType
Summary
Follow up to #34079, displays the single metric style chart in the Anomaly Explorer view for population detectors which use a script field defined in the datafeed configuration, when model plot is enabled. After the changes in #34079 a blank chart area was being displayed.
Example for a detector using
high_count over highest_registered_domain
with model plot enabled:Note a future enhancement would be to display a distribution style chart if model plot has been enabled, but currently this style of chart can only be generated if the source data can be queried (see #21163).
Checklist
Fixes #34876