-
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
[Monitoring] Metricbeat migration improvements #42600
[Monitoring] Metricbeat migration improvements #42600
Conversation
@igoristic FWIW I've found that testing the PR functionally first and then reviewing the code changes second is often more efficient because any code changes from the functional review will need to be reviewed anyway. |
💚 Build Succeeded |
…_setup_wizard_step4
💚 Build Succeeded |
I've started reviewing this PR. So far the only item I've been able to test is:
This works as expected! 👍 However, while trying to test this item, I found two bugs unrelated to this PR: #43144 and #43145. I will continue to test the rest of this PR but just wanted to report on my progress so far. |
This change LGTM as well. |
💔 Build Failed |
Tested this and it works as expected. 👍 |
This didn't work as expected for Logstash. I ran Logstash with a simple pipeline ( |
Nice find! I updated the way we detect these which should fix this! |
💚 Build Succeeded |
@igoristic @ycombinator This is ready for another round! |
I'm still seeing this issue. Could you double check on your end please? 😄 |
@ycombinator This should be addressed now in 7684403 |
…le all internal collection
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.
Functionally this PR LGTM now. Over to @igoristic for code review.
💚 Build Succeeded |
Thanks for making the changes! LGTM. Great job! |
* Support for logstash * Beats support * Fix cherry-pick api issue * Support for logstash * Updates for beats and logstash * APM migration working * Tweaks for beats migration * Update copy for setup new button * If on cloud, disable setup mode * Handle new beat flow better * Better phrasing for APM * Add beat type to disable step * Fix i18n issue * Fix jest tests * Fix api tests * PR feedback * Update copy * Remove unnecessary code * Support shortcut to finish ES migration if we are on the connected cluster * Undo changes that are now in a separate PR * Share code better by exposing a single route with an optional parameter * Disable more links * Fix overview link for logstash * PR feedback * Fix tests * PR feedback * Fix tests * We still need this route * Updates * Only show if there are instances too * Change how we set the newly discovered cluster uuid * Move this to support beats/apm weirdness * Fix tests * Remove out of date translations * PR feedback * Detect products a different way, to detect empty indices * Look against the production cluster instead of the monitoring one * When disabling ES internal collection, only disable ES - do not disable all internal collection
* Support for logstash * Beats support * Fix cherry-pick api issue * Support for logstash * Updates for beats and logstash * APM migration working * Tweaks for beats migration * Update copy for setup new button * If on cloud, disable setup mode * Handle new beat flow better * Better phrasing for APM * Add beat type to disable step * Fix i18n issue * Fix jest tests * Fix api tests * PR feedback * Update copy * Remove unnecessary code * Support shortcut to finish ES migration if we are on the connected cluster * Undo changes that are now in a separate PR * Share code better by exposing a single route with an optional parameter * Disable more links * Fix overview link for logstash * PR feedback * Fix tests * PR feedback * Fix tests * We still need this route * Updates * Only show if there are instances too * Change how we set the newly discovered cluster uuid * Move this to support beats/apm weirdness * Fix tests * Remove out of date translations * PR feedback * Detect products a different way, to detect empty indices * Look against the production cluster instead of the monitoring one * When disabling ES internal collection, only disable ES - do not disable all internal collection
Backport: 7.x: 3434d05 |
This PR is step 4 of the Metricbeat setup wizard.
This PR is addressing issues that came out of testing and the other PRs, specifically the following items:
This is working now. To test, first setup internal collection for Elasticsearch, then migrate (using the UI) to Metricbeat. After setting up monitoring through Metricbeat, there will be a callout and button at the top of the Elasticsearch nodes listing page (this isn't new in this PR, fyi). This button will automatically disable internal collection if the monitored cluster is the same one as the one Kibana is talking to. If it isn't, it will open the flyout with instructions. Please test both ways.
This is a little dated, but we now have two routes instead of three. Please let me know if this is not sufficient and you think we should be using a single route.
This is done as well. The
Check Data
button has been removed and the experience is much more seamless now. Thanks @ycombinator!Done as well.