-
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
[APM] Service maps: test 5: user loads service maps without anomaly detection integration when xpack.ml.enabled: false #72914
Comments
Pinging @elastic/apm-ui (Team:apm) |
Thanks for testing this @cauemarcondes ! Was this part of the test plan? If not, please add it. Additionally, can you also add a line to check if there are no available ml nodes? It's something like |
Yes, it was.
WIll check what's the exact name and add in the test plan. |
ML has its own capabilities endpoint and shared function to use to check if it is enabled: For now you can call |
@jgowdyelastic Thanks for chiming in! What I would like is a test case where we intentionally disable the ML node and then see how the ui behaves. I seem to recall there is an kibana.yml config option but can't remember what it's called. |
…the ml plugin is disabled.
…plugin is disabled. (#73638) Co-authored-by: Elastic Machine <[email protected]>
…the ml plugin is disabled. (elastic#73638) Co-authored-by: Elastic Machine <[email protected]> # Conflicts: # x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/add_environments.tsx # x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx
…the ml plugin is disabled. (elastic#73638) Co-authored-by: Elastic Machine <[email protected]> # Conflicts: # x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/add_environments.tsx # x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx # x-pack/plugins/apm/public/components/app/Settings/index.tsx
* master: (54 commits) [ML] Migrate to React BrowserRouter and Kibana provided History. (elastic#71941) [Discover] Improve saveSearch functional test handling (elastic#73626) [Metrics UI] Fix all threshold alert conditions disappearing due to alert prefill (elastic#73708) [Metrics UI] Fix alert previews of ungrouped alerts (elastic#73735) [SIEM] Fixes "include building block button" to operate (elastic#73900) [Metrics UI] Fix alert management to open without refresh (elastic#73739) [Security Solution][Lists] - Tests cleanup and remove unnecessary import (elastic#73865) [Ingest Management] main branch uses epr-snapshot. Others production (elastic#73555) [Canvas][tech-debt] Fix SVG not shrinking vertically properly (elastic#73867) [Maps] upgrade turf (elastic#73816) [Security Solution][Telemetry] Concurrent telemetry requests (elastic#73558) [Security Solution][Exceptions] - Update how nested entries are displayed in exceptions viewer (elastic#73745) [Security Solution][Exceptions] Adds autocomplete workaround for .text fields (elastic#73761) [Metrics UI] Fix previewing of No Data results (elastic#73753) Closes elastic#72914 by hiding anomaly detection settings links when the ml plugin is disabled. (elastic#73638) [Ingest Manager] Fix config selection in enrollment flyout from config list page (elastic#73833) [DOCS] Fixes typo in Alerting actions (elastic#73756) [APM] fixes linking errors to ML and Discover (elastic#73758) Handle promise rejections when building artifacts (elastic#73831) [Security Solution][Detections] Change from sha1 to sha256 (elastic#73741) ...
* master: (38 commits) [Discover] Context unskip date nanos functional tests (elastic#73781) [ML] Migrate to React BrowserRouter and Kibana provided History. (elastic#71941) [Discover] Improve saveSearch functional test handling (elastic#73626) [Metrics UI] Fix all threshold alert conditions disappearing due to alert prefill (elastic#73708) [Metrics UI] Fix alert previews of ungrouped alerts (elastic#73735) [SIEM] Fixes "include building block button" to operate (elastic#73900) [Metrics UI] Fix alert management to open without refresh (elastic#73739) [Security Solution][Lists] - Tests cleanup and remove unnecessary import (elastic#73865) [Ingest Management] main branch uses epr-snapshot. Others production (elastic#73555) [Canvas][tech-debt] Fix SVG not shrinking vertically properly (elastic#73867) [Maps] upgrade turf (elastic#73816) [Security Solution][Telemetry] Concurrent telemetry requests (elastic#73558) [Security Solution][Exceptions] - Update how nested entries are displayed in exceptions viewer (elastic#73745) [Security Solution][Exceptions] Adds autocomplete workaround for .text fields (elastic#73761) [Metrics UI] Fix previewing of No Data results (elastic#73753) Closes elastic#72914 by hiding anomaly detection settings links when the ml plugin is disabled. (elastic#73638) [Ingest Manager] Fix config selection in enrollment flyout from config list page (elastic#73833) [DOCS] Fixes typo in Alerting actions (elastic#73756) [APM] fixes linking errors to ML and Discover (elastic#73758) Handle promise rejections when building artifacts (elastic#73831) ...
…plugin is disabled. (#73638) (#73890) Co-authored-by: Elastic Machine <[email protected]> # Conflicts: # x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/add_environments.tsx # x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx
…plugin is disabled. (#73638) (#73892) Co-authored-by: Elastic Machine <[email protected]> # Conflicts: # x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/add_environments.tsx # x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/index.tsx # x-pack/plugins/apm/public/components/app/Settings/index.tsx
@cauemarcondes / @ogupte Did you find a way to disable the ML node via kibana.yml or similar? |
Actually no, the discussion ended up here #72914 (comment) |
Okay, since this is a real (ish) problem (I ran into it on Elastic Cloud I think) it would be nice to know how to simulate and see how the ui behaves. |
Apologies, I don't think I saw this. |
Great! I think that's what I was looking for! @cauemarcondes : I think you can test this with the apm-integration-testing command
|
Clicking on
Anomaly detection
to enable ML with the plugin disabled (xpack.ml.enabled: false
) breaks APM page.The text was updated successfully, but these errors were encountered: