aws-otel-java-instrumentation
aws-otel-java-instrumentation copied to clipboard
Please make the otel to xray mapping functionality callable in different contexts
I understand this repo is about the Java agent, not about direct Otel SDK implementation.
But since you have to do the otel->xray mapping anyway, it'd be great if folks could add this repo as a dependency and re-use your mapping code to call the PutTraceSegments API from a custom OTel exporter.
Yes, it would be better for people who don't want to run an agent or collector to call the new OTLP endpoint directly - but the OTel folks will not implement the AWS specific functionality needed to do that into their SDK.
I'm fine with writing a custom OTel exporter to call PutTraceSegments directly, but the OTel->XRay mapping is tricky and if your mapping code where reusable in that context- it'd be a good win.