I've instrumented traefik to write to the Elastic APM Jaeger endpoint. My downstream services are however instrumented with Elastic APM and I'd like to keep them that way, especially with the richer instrumentation I get with go services.
Is there any way to transfer B3 headers (X-B3-Spanid, X-B3-Traceid, etc) to Elastic-Apm-Traceparent (which appears to be composed of a value separated by dashes)? I'd like to do so with a middleware that runs before the elastic apmhttp package so that I get the full end to end trace when using services that don't have apm support built in.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.