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

Add support for ipv6 #99

Open
paladox opened this issue Jan 25, 2022 · 3 comments · May be fixed by #102
Open

Add support for ipv6 #99

paladox opened this issue Jan 25, 2022 · 3 comments · May be fixed by #102

Comments

@paladox
Copy link

paladox commented Jan 25, 2022

Could support for ipv6 be added please?

I see it binds to ipv4 only but ipv6 only hosts won't work for obvious reasons :)

root@es101:/home/paladox# netstat -tuln | grep 9206
tcp        0      0 0.0.0.0:9206            0.0.0.0:*               LISTEN   

there's no way to configure what to listen on as far as I can find.

@braedon
Copy link
Owner

braedon commented Jan 27, 2022

Hi @paladox,

Someone requested this a couple of years ago (#56), but it's a bit hard for me to implement as I don't have a ipv6 network to test on.

I did try and add support, but didn't have a way to test it: https://github.com/braedon/prometheus-es-exporter/pull/59/files

It's quite a few versions behind now, but should be able to access the old alpha build docker image braedon/prometheus-es-exporter:0.8.0a1. Could you give that a test to see if it works? If so, I can bring it up-to-date an release it properly.

Braedon

@paladox
Copy link
Author

paladox commented Apr 20, 2022

Seems this may be fixed with prometheus/client_python#657

@Universal-Omega
Copy link

Hi @paladox,

Someone requested this a couple of years ago (#56), but it's a bit hard for me to implement as I don't have a ipv6 network to test on.

I did try and add support, but didn't have a way to test it: https://github.com/braedon/prometheus-es-exporter/pull/59/files

It's quite a few versions behind now, but should be able to access the old alpha build docker image braedon/prometheus-es-exporter:0.8.0a1. Could you give that a test to see if it works? If so, I can bring it up-to-date an release it properly.

Braedon

I tested that.
#59 (review)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants