-
Notifications
You must be signed in to change notification settings - Fork 486
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
Support for NS records to discovery.dns #5905
Conversation
Signed-off-by: Daniel Jolly <[email protected]>
Docs look ok Someone from @grafana/grafana-agent-maintainers shoudl take a quick look at this before we merge. |
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.
The change looks good, but I think we need to update our Prometheus dependency before merging it. Do you know when the next version of Prometheus with this change will be released?
That's a good point. I'm not sure when the next release will be nor if it will include my change. I'm happy to keep an eye on when the Prometheus change is properly released and update here when it happens. |
My upstream change was merged in 2.49.0. https://github.com/grafana/agent/blob/main/go.mod#L690 has been updated regularly since the beginning of my PR, so I'm happy to wait until that is version based off a Prometheus 2.49.0+ build and my change is the only thing that needs to be changed. |
Hi, @djcode! I opened a PR to add this feature to Alloy. Thank you for contributing it. The Alloy PR is exactly the same as yours. I am going to close this Agent PR because it might take a while for us to upgrade the Prometheus dependency in Grafana Agent. Even if we do, we are mostly focused on bugfixes with Agent releases now, and the NS DNS support won't take much priority unless someone mentioned that it's an issue for them. Please let me know if this is indeed a big issue for you and I'd be happy to reopen the Agent PR. |
@ptodev Perfect! Thank you! |
PR Description
I added support for NS records to DNS discovery in Prometheus. prometheus/prometheus#13219
This PR adds that support to the
discovery.dns
component.Notes to the Reviewer
PR Checklist