-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 Unix Domain Socket Listener to statsdreceiver #21385
Comments
Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Actually, I see this was already kept in mind when writing the |
Hi, @michaelli321, thanks for reporting. I don't think anyone is planning to work on this in the near future. Feel free to contribute if you have a chance. |
Hi |
/label needs-discussion |
Thanks CONTRIBUTING.md: "needs discussion" vs "discussion need" Run ./.github/workflows/scripts/add-labels.sh |
Hi! I hope that I can have a PR to add this feature in a few days addressing this :) |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
**Description:** This is the first step to adding UDS support to the StatsD receiver. As I started to develop it, I saw that all tests were hardcoded to UDP and using networking and there was no possibility to add a socket communication. PR started to get huge so I split it into two, one to refactor tests and another one that adds UDS support: * Removed all unused references. * Made a `Transport` helper that allows centralizing all supported protocols and constants in its package. * Removed all hardcoded UDP protocols and generalized testing so new protocols are easy to add. If you need a rationale about why the changes are like this, this is the next PR I am going to submit after this one is merged: kang-makes#2 That is the PR that is going to add UDS support properly. **Link to tracking Issue:** - #21385 **Previous closed PR:** - #24832
…28896) **Description:** This is the first step to adding UDS support to the StatsD receiver. As I started to develop it, I saw that all tests were hardcoded to UDP and using networking and there was no possibility to add a socket communication. PR started to get huge so I split it into two, one to refactor tests and another one that adds UDS support: * Removed all unused references. * Made a `Transport` helper that allows centralizing all supported protocols and constants in its package. * Removed all hardcoded UDP protocols and generalized testing so new protocols are easy to add. If you need a rationale about why the changes are like this, this is the next PR I am going to submit after this one is merged: kang-makes#2 That is the PR that is going to add UDS support properly. **Link to tracking Issue:** - open-telemetry#21385 **Previous closed PR:** - open-telemetry#24832
@kang-makes any word on the PR to address this? |
I can open a PR for this in a week or two |
I started working on a draft here, but I noticed @kang-makes has a PR for this in their own fork already opened here. |
Hi @michaelli321 and @jcogilvie, The PR is stale. At the time I wrote this, tests were coupled and had hardcoded responeses that needed a refactor before this one. Hence kang-makes#1 The refactor for tests was asked upstream (#24832), it was rebased 3 times and completely ignored even after going to the collector meetings begging for this to be merged. The collector moved forward during this year and a half and the PR needs a full refactor from scratch (again). I was moved out of the team in New Relic that maintains these integrations. In other circumstances I would keep working on it of community' sake but after the big amount of ungrateful work and complete silence from this project I am done. I am done with this and I will not work on this project anymore. |
@kang-makes Sorry that you had this experience, I can definitely see how that was frustrating. We are a relatively small group of contributors for the size of this project, and things move slowly and sometimes slip through the cracks, but either way we clearly failed here despite you doing the right thing and even coming to the meetings to try to move this forward. I feel like since the time of the PR we have made small improvements on some things: on the Collector SIG we now have a dedicated CNCF Slack channel for Collector developers (#otel-collector-dev) where you can more easily ask for reviews and raise these problems without having to come to a meeting and we have grown the team a bit to have more people and spread the work, and at the project level we have a new SIG focused on Contributor Experience. But we still definitely have PRs that go without response or drag for too long, and we should at least be clear about the timelines and explicitly communicate that we are dropping things if we have to. Improving on this is the kind of work that is less 'shiny' and that both individuals and companies have less incentives to do, so progress has been slow, but I think it is one of the most important things that we have to get right, both as a SIG and also as a project. If at some point you change your mind, I encourage you to both give another try to this particular issue as well as helping us brainstorm how to improve the contributor experience and prevent this in the future. |
I just wanted to echo @mx-psi's word here: we failed here, and can do better. As a code owner who's had more components than I could handle and taking very long to review PRs for the components I own during very busy phases (conferences, off-sites, ...), I certainly feel guilty for this. @kang-makes, I appreciate you giving us this feedback, this will hopefully help move things on our side. Even if it means only setting better expectations to our contributors. |
Component(s)
receiver/statsd
Is your feature request related to a problem? Please describe.
We're currently migrating workloads to use the OTEL Collector for metric collection. The
datadog-agent
supports ingesting StatsD metrics via a Unix Domain Socket.Are there plans to also support UDS through the
statsdreceiver
?Describe the solution you'd like
Adding a UDS listener to the
statsdreceiver
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: