OpenTelemetry-Collector #7660
Unanswered
davideduma
asked this question in
Q&A
Replies: 1 comment
-
Hey @davideduma , Just to make sure: did you generate some traffic on your app (e.g. call an endpoint) before checking if the collector received tracing? The javaagent only generates spans when something actually happens in the app; whereas metrics (in particular, JVM metrics) are being sent somewhat constantly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone.
I'm learning to use OpenTelemetry.
Currently i have one problem with opentelemetry-collector, not recognize or not recept information from agent
Already the component have port 4317 but this problem continue.
Already i have active this flags: "-Dotel.exporter.otlp.endpoint=http://localhost:4317" and "-Dotel.metrics.exporter=otlp -Dotel.traces.exporter=otlp", "-Dotel.metrics.exporter=otlp -Dotel.traces.exporter=otlp"
And my Agent no generate any problem on console.
Command used:
java -javaagent:opentelemetry-javaagent.jar -Dotel.metrics.exporter=otlp -Dotel.traces.exporter=otlp -Dotel.resource.attributes=service.name=hello-app,service.version=1.0 -Dotel_traces_sampler=always_on -Dotel_imr_export_interval=1000 -Dotel_metric_export_interval=1000 -Dotel.exporter.otlp.endpoint=http://localhost:4317 -Dotel.traces.exporter=zipkin -jar hello-app.jar
Agent and microservice:

Collector it's not working, does not perform the traces:

On Docker:

Zipkin it's working:


Help me
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions