@@ -0,0 +1,790 @@
+package org.commonjava.indy.subsys.honeycomb;%0A%0Aimport org.commonjava.o11yphant.honeycomb.CustomTraceIdProvider;%0Aimport org.commonjava.o11yphant.metrics.RequestContextHelper;%0A%0Aimport javax.enterprise.context.ApplicationScoped;%0A%0Aimport static org.apache.commons.lang3.StringUtils.isNotBlank;%0Aimport static org.commonjava.o11yphant.honeycomb.util.TraceIdUtils.getUUIDTraceId;%0Aimport static org.commonjava.o11yphant.metrics.RequestContextHelper.TRACE_ID;%0A%0A@ApplicationScoped%0Apublic class IndyCustomTraceIdProvider implements CustomTraceIdProvider%0A%7B%0A    @Override%0A    public String generateId()%0A    %7B%0A        String traceId = RequestContextHelper.getContext( TRACE_ID );%0A        if ( isNotBlank(traceId ))%0A        %7B%0A            return traceId;%0A        %7D%0A        return getUUIDTraceId();%0A    %7D%0A%7D%0A

Add IndyCustomTraceIdProvider to produce same traceId as preferedId (#1740)