Module brave

Interface TraceContext.Extractor<C>

    • Method Detail

      • extract

        TraceContextOrSamplingFlags extract​(C carrier)
        Returns either a trace context or sampling flags parsed from the carrier. If nothing was parsable, sampling flags will be set to SamplingFlags.EMPTY.
        Parameters:
        carrier - holds propagation fields. For example, an incoming message or http request.