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

[Fleet] [Debug UI] Implement "Integration Debugger" UI #131354

Merged

Conversation

kpollich
Copy link
Member

@kpollich kpollich commented May 2, 2022

Summary

Branched off of #131335 - so needs to be rebased once #131335 lands in order to merge cleanly.

Adds an Integration Debugger that allows users to

  • Search or select an installed integration
  • Reinstall a given integration
  • Uninstall a given integration

Integrations with active agents are non-removable, so they will report an error when attempting to uninstall/reinstall.

Screen Recording

Screen.Recording.2022-05-03.at.9.18.38.AM.mov

@kpollich kpollich added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.3.0 labels May 2, 2022
@kpollich kpollich requested a review from juliaElastic May 2, 2022 21:08
@kpollich kpollich requested a review from a team as a code owner May 2, 2022 21:08
@kpollich kpollich self-assigned this May 2, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@juliaElastic
Copy link
Contributor

Code looks good so far, haven't checked locally yet.

@kpollich kpollich force-pushed the integrations-module branch from c09dfa7 to e228465 Compare May 3, 2022 12:29
Copy link
Contributor

@juliaElastic juliaElastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, commented one small bug

@kpollich kpollich merged commit ba20225 into elastic:feature/fleet-debug-page May 3, 2022
@kpollich kpollich deleted the integrations-module branch May 3, 2022 13:31
@kibana-ci
Copy link
Collaborator

💔 Build Failed

Failed CI Steps

Metrics [docs]

‼️ ERROR: no builds found for mergeBase sha [423fac9]

History

  • 💚 Build #41917 succeeded b667d1c5d044adbaeb465b9e0b8a5c9b60f8e048

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @kpollich

kpollich added a commit that referenced this pull request Jun 21, 2022
* Bootstrap Fleet /_debug route + React Query

* [Fleet] [Debug UI] Implement "Agent Policy Debugger" UI (#131335)

* Add initial agent policy debugger module

* Fix clear button in agent policy select

* Implement deletion of selected policy

* Fix layout of combo-box/button

* Add searchable ID to agent policy labels

* Add description text to debugger module

* Fixup loading/error logic

* [Fleet] Saved Objects Debugger (#131370)

* saved objects debugger

* converted so names to combobox

* types fix

* extracted combo box component

* fixed error display

* [Fleet] [Debug UI] Implement "Integration Debugger" UI (#131354)

* Implement integrations debugger UI

* Clean up + add link to integration settings

* Add divider below integration debugger

* Clean up loading states

* Fix flex spacing for saved objects debugger

* [Fleet] Added fleet indices query to debug UI (#131395)

* fleet indices

* keeping the type and name combo close in saved objects

* fixed prettier

* removed useEffects, simplified use of useQuery (#131482)

* using different query for saved objects (#131491)

* [Fleet] [Debug UI] Implement "Preconfiguration debugger" UI (#131436)

* Implement preconfiguration debugger UI

* Add code block view

* Added missing newline

Co-authored-by: Julia Bardi <[email protected]>

* Prevent flicker in saved objects code block

* added links including health check report (#131503)

* added links including health check report

* experiment with accordion

Co-authored-by: Kibana Machine <[email protected]>

* Refactor panel rendering + danger zone callout

* Convert panels to all singular

* confirm modal for reset preconfig (#131596)

* Add icons to useful links + fix reset all -> title case

* Fix disabled health check link

* added orphaned policies api and to debug page (#131697)

* Language fixes around orphaned policy module

* Add some basic dev docs around the debugger

* increasing page load bundle limit slightly (#132690)

* Remove health check link as it's not implemented

* Fix agents link + disable reset all button when no preconfigured policies

* Update doc title on debug page

* Translate everything

* Remove delete orphaned endpoint + fix force flag in existing delete endpoint

* Fix type

* Add API integration tests for orphaned policies

Co-authored-by: Julia Bardi <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants