-
Notifications
You must be signed in to change notification settings - Fork 44
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 for inet6 option #79
Conversation
This doesn't seem to work for me. I think it needs to be updated to also take in the
|
👍 Thanks for pointing this out! I was using IPv6 addresses directly instead of a hostname so that's probably why I didn't run into this. To keep things cleaner I took away the I'm on holiday right now, so I won't get back to testing this right away, but I can test it with my project soon-ish. |
I tested it out, works great! |
Thanks for working through this. Would love to see this change released in the official package. |
I forgot to update that I've been using this change in my project for a week or so now and it's been working fine 👍 |
@arkgil what do you think about this one? Can we merge ? |
9892288
to
6e6d6b5
Compare
Saw that CI failed. Just ran |
@cheerfulstoic we'll need to wait until #82 and #83 are merged in order to merge this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @cheerfulstoic! The code looks good, but we'll need a test for it too.
👍 Sure, I can add a test. I wasn't really sure how to do that, but I just dug in a bit. I guess I would use the |
I added a test, and I think it's probably the right thing, but let me know if you think it should work differently 😄 |
@cheerfulstoic ideally we'd test that reporting works e2e with IPv6, so publishing a metric and using |
Also, if you could rebase on latest |
Thanks very much! I've added a separate test to match the pattern of the other tests (i.e. |
(oh, and I rebased 👍 ) |
Thank you for the contribution @cheerfulstoic. This change has been published in version 0.7.0 🎉 |
Fixes #78
I'm using this to be able to send metrics over IPv6 on fly.io through WireGuard