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

[Metricbeat] Migrate Kubernetes container Metricset to use ReporterV2 interface #10855

Merged

Conversation

sayden
Copy link
Contributor

@sayden sayden commented Feb 20, 2019

Refer to #10774 for more info

@sayden sayden added Metricbeat Metricbeat Team:Integrations Label for the Integrations team labels Feb 20, 2019
@sayden sayden self-assigned this Feb 20, 2019
@sayden sayden requested a review from a team as a code owner February 20, 2019 22:16
Copy link
Contributor

@kaiyan-sheng kaiyan-sheng left a comment

Choose a reason for hiding this comment

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

I was working on migrating k8s to ecs. That PR should probably wait till this one gets in :-)

}

events, err := eventMapping(body, util.PerfMetrics)
if err != nil {
return nil, err
logger.Error(err)
Copy link
Contributor

Choose a reason for hiding this comment

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

should we add a err= errors.wrap(err, "eventMapping failed") here to give more content?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question. I'm not sure about it because I usually like to print errors that are relevant for the users (not for us) to help them fix their config issues or similar things.

But I'm also sure that I'm not probably consistent about this 😄

@sayden sayden merged commit 1ace6e3 into elastic:master Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metricbeat Metricbeat Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants