Skip to content
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

Migrate translator/trace/jaeger/ #4808

Merged
merged 2 commits into from
Aug 21, 2021

Conversation

Saber-W
Copy link
Member

@Saber-W Saber-W commented Aug 20, 2021

Link to tracking Issue: open-telemetry/opentelemetry-collector#3474

Description:
This PR migrates translator/trace/jaeger/ to pkg/translator/jaeger/.

@Saber-W Saber-W requested review from a team and bogdandrutu August 20, 2021 19:06
@Saber-W Saber-W force-pushed the translator-jaeger-migration branch 2 times, most recently from f44d28d to b1ef21f Compare August 20, 2021 19:16
pkg/Makefile Outdated Show resolved Hide resolved
@Saber-W Saber-W force-pushed the translator-jaeger-migration branch from b1ef21f to 8db297c Compare August 20, 2021 19:25
Copy link
Member

@bogdandrutu bogdandrutu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imports from collector internal go.opentelemetry.io/collector/internal need to be change to the new package coreinternal

go.mod Outdated Show resolved Hide resolved
@Saber-W Saber-W force-pushed the translator-jaeger-migration branch from 8db297c to 424d337 Compare August 20, 2021 21:58
@Saber-W Saber-W force-pushed the translator-jaeger-migration branch from 424d337 to 77f986d Compare August 20, 2021 22:38
@Saber-W Saber-W force-pushed the translator-jaeger-migration branch 2 times, most recently from 01a8336 to cd035c7 Compare August 20, 2021 23:54
@Aneurysm9
Copy link
Member

make -C pkg/translator/jaeger fmt should fix the formatting issues.

@Saber-W Saber-W force-pushed the translator-jaeger-migration branch from cd035c7 to 45102f5 Compare August 21, 2021 02:02
@Aneurysm9
Copy link
Member

Check the relative path to the test data:

--- FAIL: TestInternalTracesToJaegerProtoBatchesAndBack (0.00s)
    traces_to_jaegerproto_test.go:325: 
        	Error Trace:	traces_to_jaegerproto_test.go:325
        	Error:      	Received unexpected error:
        	            	open ../../../internal/goldendataset/testdata/generated_pict_pairs_traces.txt: no such file or directory
        	Test:       	TestInternalTracesToJaegerProtoBatchesAndBack
FAIL
FAIL	github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger	0.025s
FAIL

@Aneurysm9 Aneurysm9 merged commit 6940b91 into open-telemetry:main Aug 21, 2021
hex1848 pushed a commit to hex1848/opentelemetry-collector-contrib that referenced this pull request Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants