The jms agent plugin creates a trace header with elastic_apm_traceparent instead of elastic-apm-traceparent.
public interface JmsInstrumentationHelper<D, M, L> {
/**
* In some cases, dashes are not allowed in JMS Message property names
*/
public static final String JMS_TRACE_PARENT_HEADER = TraceContext.TRACE_PARENT_HEADER.replace('-', '_');
@Nullable
Span startJmsSendSpan(D destination, M message);
@Nullable
L wrapLambda(@Nullable L listener);
}
So the reason is clear. But that's confusing in the programming.
@suikast42 is there something we can do to make this less confusing? It appears to be a limitation that we need to live with.
When https://github.com/elastic/apm/issues/71 is resolved (i.e. we start using the header "traceparent" everywhere), then I suppose this will be no longer be a problem.
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.