Hey team ! I try to get traces from a java app. I...
# support
g
Hey team ! I try to get traces from a java app. I have no access to the code source so I need to use the
javaagent
. On the
.service
file I have added
Environment="OTEL_EXPORTER_OTLP_ENDPOINT=<http://localhost:4317>"
The collector is setup with :
Copy code
receivers:
  otlp:
    protocols:
      grpc:
      http:

...

exporters:
  clickhousetraces:
    datasource: <tcp://10.24.208.77:9000/signoz_traces?username=signoz&password=signoz>
    timeout: 10s
But I don't have any trace data. In the journalctl of the collector I have
Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"POST /v1/traces HTTP/1.1\""
n
Hey @Gil, What's the version of javaagent?
I would suggest you try with port 4318
g
Yes it's seems to not wotk with gRCP protocol (why?). Changing the port to 4318 to use http make it work
Also are you using quarkus?
g
I don't know what is quarkus so I don't think so