-
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
[receiver/statsd] Refactor of hardcoded tests #24832
[receiver/statsd] Refactor of hardcoded tests #24832
Conversation
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.
@kang-makes please rebase
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: "bug_fix" |
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.
Is there a bug that fixed by this PR? If it's just refactoring, no changelog entry is needed
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.
I remove it on the commit #7094a68
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
59faed9
to
7094a68
Compare
Rebased :) |
7094a68
to
e4f8238
Compare
Rebased. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
e4f8238
to
4fa23ed
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
@dmitryax I have just rebased it and included in this PR the support for TCP that was added by the community. Let me know if I can do something more because I cannot reopen the PR :( |
**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
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:
Transport
helper that allows centralizing all supported protocols and constants in its package.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: