-
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
[chore][receiver/statsd] Refactor of hardcoded tests #28896
Merged
bogdandrutu
merged 11 commits into
open-telemetry:main
from
kang-makes:receiver/statsdreceiver/add-uds-support
Dec 15, 2023
Merged
[chore][receiver/statsd] Refactor of hardcoded tests #28896
bogdandrutu
merged 11 commits into
open-telemetry:main
from
kang-makes:receiver/statsdreceiver/add-uds-support
Dec 15, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kang-makes
changed the title
Receiver/statsdreceiver/add uds support
[receiver/statsd] Refactor of hardcoded tests
Nov 6, 2023
kang-makes
force-pushed
the
receiver/statsdreceiver/add-uds-support
branch
from
November 6, 2023 09:27
7b39dc2
to
892ed4f
Compare
kang-makes
changed the title
[receiver/statsd] Refactor of hardcoded tests
[chore][receiver/statsd] Refactor of hardcoded tests
Nov 20, 2023
kang-makes
force-pushed
the
receiver/statsdreceiver/add-uds-support
branch
from
November 20, 2023 11:04
892ed4f
to
7965808
Compare
atoulme
approved these changes
Nov 21, 2023
kang-makes
force-pushed
the
receiver/statsdreceiver/add-uds-support
branch
from
November 21, 2023 10:43
7965808
to
51be5d3
Compare
Rebased :) |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
jmacd
approved these changes
Dec 12, 2023
cparkins
pushed a commit
to AmadeusITGroup/opentelemetry-collector-contrib
that referenced
this pull request
Jan 10, 2024
…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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
Previous closed PR: