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

advanced-01-open-telemetry: jaeger does not show consumer/provider service #262

Closed
ipa-big opened this issue May 22, 2024 · 2 comments · Fixed by #268
Closed

advanced-01-open-telemetry: jaeger does not show consumer/provider service #262

ipa-big opened this issue May 22, 2024 · 2 comments · Fixed by #268
Labels
stale Open for x days with no activity triage

Comments

@ipa-big
Copy link

ipa-big commented May 22, 2024

Bug Report

Describe the Bug

Jaeger does not show consumer/provider service in UI when running "advanced-01-open-telemetry".

Expected Behavior

Being able to see the communication between consumer/provider while doing the before mentioned sample

Observed Behavior

Jaeger UI shows "jaeger-all-in-one" as the only service

Steps to Reproduce

Steps to reproduce the behavior:

Run the sample "advanced-01-open-telemetry" as described in README.md.

Context Information

  • EDC v0.6.4

Detailed Description

Jaeger Screenshot after starting Data Transfer (as described in Readme.md file):

image

Consumer / Producer Log shows the following exception:

Exception in thread "BatchSpanProcessor_WorkerThread-1" java.lang.NoClassDefFoundError: com/fasterxml/jackson/jr/ob/JSON
2024-05-22T12:46:20.114072100Z 	at io.opentelemetry.exporter.jaeger.KeyValueMarshaler.create(KeyValueMarshaler.java:80)
2024-05-22T12:46:20.114093800Z 	at io.opentelemetry.exporter.jaeger.KeyValueMarshaler.lambda$createRepeated$0(KeyValueMarshaler.java:43)
2024-05-22T12:46:20.114257900Z 	at io.opentelemetry.javaagent.shaded.io.opentelemetry.api.internal.ImmutableKeyValuePairs.forEach(ImmutableKeyValuePairs.java:94)
2024-05-22T12:46:20.114268600Z 	at io.opentelemetry.exporter.jaeger.KeyValueMarshaler.createRepeated(KeyValueMarshaler.java:43)
2024-05-22T12:46:20.114273400Z 	at io.opentelemetry.exporter.jaeger.ProcessMarshaler.create(ProcessMarshaler.java:32)
2024-05-22T12:46:20.114277000Z 	at io.opentelemetry.exporter.jaeger.BatchMarshaler.create(BatchMarshaler.java:24)
2024-05-22T12:46:20.114280400Z 	at io.opentelemetry.exporter.jaeger.PostSpansRequestMarshaler.create(PostSpansRequestMarshaler.java:22)
2024-05-22T12:46:20.114283700Z 	at io.opentelemetry.exporter.jaeger.JaegerGrpcSpanExporter.buildRequest(JaegerGrpcSpanExporter.java:89)
2024-05-22T12:46:20.114505900Z 	at io.opentelemetry.exporter.jaeger.JaegerGrpcSpanExporter.lambda$export$0(JaegerGrpcSpanExporter.java:82)
2024-05-22T12:46:20.114513400Z 	at java.base/java.util.HashMap.forEach(HashMap.java:1421)
2024-05-22T12:46:20.114516900Z 	at io.opentelemetry.exporter.jaeger.JaegerGrpcSpanExporter.export(JaegerGrpcSpanExporter.java:80)
2024-05-22T12:46:20.114520100Z 	at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.exportCurrentBatch(BatchSpanProcessor.java:340)
2024-05-22T12:46:20.114523200Z 	at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.run(BatchSpanProcessor.java:258)
2024-05-22T12:46:20.114526700Z 	at java.base/java.lang.Thread.run(Thread.java:833)
2024-05-22T12:46:20.114533500Z Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.jr.ob.JSON
2024-05-22T12:46:20.114537300Z 	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
2024-05-22T12:46:20.114540500Z 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
2024-05-22T12:46:20.114543600Z 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
2024-05-22T12:46:20.114546500Z 	... 14 more

Possible Implementation

Looks like java agent requires additional dependencies to run properly

Copy link

Thanks for your contribution 🔥 We will take a look asap 🚀

Copy link

github-actions bot commented Jun 6, 2024

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the stale Open for x days with no activity label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Open for x days with no activity triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant