All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.kristofa.brave.CommonSpanState Maven / Gradle / Ivy

There is a newer version: 4.13.6
Show newest version
package com.github.kristofa.brave;

import com.github.kristofa.brave.internal.Nullable;
import com.twitter.zipkin.gen.Endpoint;

/**
 * Keeps track of common trace/span state information.
 * 

* Should be thread aware since we can have multiple parallel request which means multiple trace/spans. *

* * @author kristof * @deprecated Replaced by {@code brave.propagation.TraceContext} */ @Deprecated public interface CommonSpanState { /** @deprecated alias for the sampled flag on {@link ServerSpanState#getCurrentServerSpan()}. */ @Deprecated @Nullable Boolean sample(); /** * Gets the Endpoint (ip, port, service name) for this service. * * @return Endpoint for this service. */ Endpoint endpoint(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy