Hi Team,
I have created a trial account in Splunk Observability as a cloud for checking traces and spans. While trying to send spans from an Java based application from EC2 instance(Personal account) using Java agent, I am getting 401 unauthorized error. Have verified creating API tokens as per the documentation but still getting same error.
Can you please help in suggesting way forward for this issue?
Links referred:
(Referred topic "Send data directly to Observability Cloud") in above Link
Error:
[otel.javaagent 2022-07-15 01:57:56:036 +0000] [BatchSpanProcessor_WorkerThread-1] WARN io.opentelemetry.exporter.jaeger.thrift.JaegerTh
riftSpanExporter - Failed to export spans
io.jaegertracing.internal.exceptions.SenderException: Could not send 72 spans, response 401:
at io.jaegertracing.thrift.internal.senders.HttpSender.send(HttpSender.java:87)
at io.opentelemetry.exporter.jaeger.thrift.JaegerThriftSpanExporter.lambda$export$2(JaegerThriftSpanExporter.java:99)
at java.util.HashMap.forEach(HashMap.java:1290)
at io.opentelemetry.exporter.jaeger.thrift.JaegerThriftSpanExporter.export(JaegerThriftSpanExporter.java:93)
at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.exportCurrentBatch(BatchSpanProcessor.java:326)
at io.opentelemetry.sdk.trace.export.BatchSpanProcessor$Worker.run(BatchSpanProcessor.java:244)
at java.lang.Thread.run(Thread.java:748)
Did you find the root cause or a solution to this issue?