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

Allow autodiscover to monitor unexposed ports #6727

Merged

Conversation

vjsamuel
Copy link
Contributor

@vjsamuel vjsamuel commented Apr 2, 2018

The metrics hint builder needs a slight change to allow monitoring of endpoints like ${data.host}:9090. Currently it blocks such cases. For host network containers, there wouldnt be any port on the configuration as well. We would just spin up metricbeat modules, if port is 0 and the host hint has data.host on it.

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@vjsamuel vjsamuel force-pushed the autodiscover_monitor_unexposed_ports branch from 8e83171 to fbb7512 Compare April 2, 2018 00:10
@vjsamuel vjsamuel force-pushed the autodiscover_monitor_unexposed_ports branch from fbb7512 to 3c790b5 Compare April 2, 2018 00:50
@ruflin ruflin added review containers Related to containers use case labels Apr 3, 2018
@ruflin
Copy link
Contributor

ruflin commented Apr 3, 2018

jenkins, test it

Copy link
Contributor

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

LGTM and will merge it as is.

@exekias @vjsamuel We should document such small details also in the docs somewhere.

@ruflin
Copy link
Contributor

ruflin commented Apr 3, 2018

jenkins, test it

@vjsamuel
Copy link
Contributor Author

vjsamuel commented Apr 3, 2018

@ruflin added the documentation. this really only affects Kubernetes autodiscover and not docker.

@ruflin
Copy link
Contributor

ruflin commented Apr 4, 2018

jenkins, test it

@ruflin ruflin merged commit f0f7af2 into elastic:master Apr 4, 2018
@vjsamuel vjsamuel deleted the autodiscover_monitor_unexposed_ports branch July 25, 2018 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Related to containers use case review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants