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

Cherry-pick #12816 to 7.3: [Metricbeat] Avoid omitting of errors in Vsphere module and upgrade to use context.Context #13003

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

sayden
Copy link
Contributor

@sayden sayden commented Jul 22, 2019

Cherry-pick of PR #12816 to 7.3 branch. Original message:

Some potential error checks are being omitted in vSphere module. They aren't probably key to fetch metrics but they may be hiding important debug information when things go wrong.

This PR prints in debug level if any of those errors have returned information.

At the same time, the PR is upgraded to use context.Contextin Fetch method, recently added to Beats and it may be useful as a background context was being used on the Metricsets.

@sayden sayden requested a review from a team as a code owner July 22, 2019 11:00
@sayden sayden self-assigned this Jul 22, 2019
@sayden sayden added Team:Integrations Label for the Integrations team Metricbeat Metricbeat [zube]: In Review labels Jul 22, 2019
@sayden sayden merged commit c687958 into elastic:7.3 Jul 22, 2019
@sayden sayden deleted the backport_12816_7.3 branch October 29, 2021 08:57
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Metricbeat Metricbeat review Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants