elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.73k stars 8.14k forks source link

[ML] Single metric viewer embeddable: error on create job rule anomaly click functionality on first load #181772

Closed alvarezmelissa87 closed 5 months ago

alvarezmelissa87 commented 5 months ago

Kibana version: 8.14.0

Describe the bug:

Getting an Error loading the filter lists used in the job rule scope toast when using configure job rules action on first dashboard load. This appears to be due to a dependency cache dependency that has been missed.

Steps to reproduce:

  1. Ensure you have an anomaly detection job created (you can use sample flight data) and then navigate to dashboards
  2. Create a single metric viewer panel via Add Panel > Machine Learning > single metric viewer
  3. Click on an anomaly in the chart and select the Configure job rule action
  4. Flyout will open and toast will pop up
image

Expected behavior: There shouldn't be an error toast

Screenshots (if relevant):

image

Errors in browser console (if relevant):

image
elasticmachine commented 5 months ago

Pinging @elastic/ml-ui (:ml)