-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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/skywalking]: Refactor code structure/directory #20344
[receiver/skywalking]: Refactor code structure/directory #20344
Conversation
1. Restructuring the directory/structure 2. Adding an HTTP trace Reception unit test
|
45cbe01
to
9226821
Compare
71c3ae6
to
c085000
Compare
Tests started. |
@aheling11 CI passed, Let's wait for the approver to merge this PR. |
There were some conflicts in the go.sum, but they have been resolved. |
…y-collector-contrib into skywalking_add_metric # Conflicts: # receiver/skywalkingreceiver/go.mod # receiver/skywalkingreceiver/go.sum # receiver/skywalkingreceiver/tracing_report_service.go
Could you please rerun the tests? I have resolved some conflicts. @jpkrohling |
@aheling11 new conflicts :-P |
…y-collector-contrib into skywalking_add_metric # Conflicts: # receiver/skywalkingreceiver/factory.go # receiver/skywalkingreceiver/factory_test.go
resolved again ~ |
Why doesn't GitHub have a feature to retract review requests? I accidentally clicked the "Request review" button. =-= |
That's ok, take easy~, let's waiting maintainer to merge it. |
…y-collector-contrib into skywalking_add_metric # Conflicts: # receiver/skywalkingreceiver/tracing_report_service.go
resolve conflict again. |
ping @open-telemetry/collector-contrib-maintainer I think this pr is ready to be merged |
Description:
1st PR: In order to add metrics receiver to skywalking/receiver, I found that I need to adjust the code directory/code structure a bit. So this PR is just a code refactoring, referring to the structure of otlp/receiver. After that, it will be easier for skywalking/receiver to add metrics or logs to the receiver.
The new swReceiver struct is shown below.
Link to tracking Issue:
#20315
Testing:
The original unit tests have been passed, and a test for HTTP reception has been added. Because of some restructuring, the unit test code has changed a bit.
Documentation: