-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Stacktrace when monitoring Elasticsearch with MetricBeat #6192
Comments
@beiske I managed to reproduce this and it's related to |
@beiske The issue is that |
PR with a fix is here: #6205 |
@ruflin Thanks! |
When setting an invalide http config in a metricbeat module / metricset it could happen that the metricset paniced. The reason is that the error when unpacking the config was not properly returned and handled which lead to an empty http instance. This PR changes the behaviour to return the errors which can then be handled by the metricsets. The issue also affects all metricsets which were based on the prometheus helper. Closes elastic#6192
When setting an invalide http config in a metricbeat module / metricset it could happen that the metricset paniced. The reason is that the error when unpacking the config was not properly returned and handled which lead to an empty http instance. This PR changes the behaviour to return the errors which can then be handled by the metricsets. The issue also affects all metricsets which were based on the prometheus helper. Closes #6192
Beats version 6.1.2.
Elasticsearch output cluster version 6.0.1.
Monitored Elasticsearch cluster versions: 2.4.6
Operating system Ubuntu 64 bit.
Config
This results in:
The text was updated successfully, but these errors were encountered: