com.lightstep.tracer.shared.HttpHeadersPropagator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-common Show documentation
Show all versions of java-common Show documentation
The LightStep OpenTracing Tracer implementation for Java
package com.lightstep.tracer.shared;
import io.opentracing.propagation.TextMap;
/**
* TODO: HTTP_HEADERS presently blindly delegates to TextMapPropagator; adopt BasicTracer's HTTP
* carrier encoding once it's been defined.
*/
class HttpHeadersPropagator implements Propagator {
public void inject(SpanContext spanContext, C carrier) {
TEXT_MAP.inject(spanContext, carrier);
}
public SpanContext extract(C carrier) {
return TEXT_MAP.extract(carrier);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy