Kibana: [APM] ML integration: "View job" link is broken, doesn't show job data in single metric viewer in ML

Created on 15 Jan 2020  路  6Comments  路  Source: elastic/kibana

Kibana version: master

Summary

In APM UI there's a link to view the job results in the ML Single metric viewer, but the data is not shown. Looks like there might be some URL params missing in order to render the graph.

Uncaught Error: invalid bounds set: [object Object] at TimeBuckets.push../x-pack/legacy/plugins/ml/public/application/util/time_buckets.js.TimeBuckets.setBounds (time_buckets.js:106) at calculateAggregationInterval (timeseriesexplorer_utils.js:319) at TimeSeriesExplorer.<anonymous> (timeseriesexplorer.js:591) at callCallback (react-dom.development.js:13829) at commitUpdateEffects (react-dom.development.js:13867) at commitUpdateQueue (react-dom.development.js:13855) at commitLifeCycles (react-dom.development.js:22135) at commitLayoutEffects (react-dom.development.js:25344) at HTMLUnknownElement.callCallback (react-dom.development.js:336) at Object.invokeGuardedCallbackDev (react-dom.development.js:385)

Kapture 2020-01-15 at 13 40 39

:ml Anomaly Detection bug v7.6.0

All 6 comments

Pinging @elastic/apm-ui (Team:apm)

Pinging @elastic/ml-ui (:ml)

@elastic/ml-ui From what I can tell there's a problem with relative time periods set in the date picker? If I change the date picker to "Last 15 minutes" it throws the same error.

Kapture 2020-01-15 at 13 53 39

@formgeist could you please paste in an example of the full URL you are opening from the APM UI. There were some issues on master/7.x around restoring properties (job ID, time range etc) from the URL, but these should have been fixed by https://github.com/elastic/kibana/pull/52987. Might be we missed something in our testing. If you can add an example of the URL, we can try and reproduce.

@peteharverson Sure thing

http://localhost:5601/iba/app/ml#/timeseriesexplorer?_g=(ml:(jobIds:!(opbeans-java-request-high_mean_response_time)),refreshInterval:(pause:true,value:'0'),time:(from:now-1h,to:now))

Good spot @formgeist. I can reproduce. The Single Metric Viewer is throwing errors with the relative time periods. Will look to get a fix in as soon as possible.

Was this page helpful?
0 / 5 - 0 ratings