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

Use OTEL Exporter instead of Jaeger Exporter #18

Merged
merged 10 commits into from
Jul 2, 2024

Conversation

FlamingSaint
Copy link
Contributor

@FlamingSaint FlamingSaint commented Jun 29, 2024

Resolves jaegertracing/jaeger#5685

I have used the otel exporter instead of the jaeger exporter.
Also ran go get -d -t ./... and go mod tidy and fixed errors caused by it.

Use the OTEL_EXPORTER_OTLP_TRACES_ENDPOINT

export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:14268/api/traces

tracing/init.go Outdated Show resolved Hide resolved
client/client.go Outdated Show resolved Hide resolved
tracing/init.go Show resolved Hide resolved
model/service_instance.go Outdated Show resolved Hide resolved
model/config.go Outdated Show resolved Hide resolved
Copy link
Owner

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

lgtm. Did you test it with all-in-one, to see how the traces look?

Signed-off-by: FlamingSaint <[email protected]>
Signed-off-by: FlamingSaint <[email protected]>
main.go Outdated Show resolved Hide resolved
tracing/init.go Outdated Show resolved Hide resolved
Signed-off-by: FlamingSaint <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
@yurishkuro yurishkuro merged commit 0f4a6f2 into yurishkuro:main Jul 2, 2024
2 checks passed
@FlamingSaint FlamingSaint deleted the fix-PR13 branch July 3, 2024 13:49
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.

Implement OTLP export in microsim
2 participants