com.github.kristofa.brave.grpc.BravePropagationKeys Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brave-grpc Show documentation
Show all versions of brave-grpc Show documentation
gRPC integration that uses the brave api to submit client and server side span information.
The newest version!
package com.github.kristofa.brave.grpc;
import com.github.kristofa.brave.http.BraveHttpHeaders;
import io.grpc.Metadata;
/** Metadata keys that allow a span to join across process boundaries. */
class BravePropagationKeys {
public static Metadata.Key ParentSpanId =
Metadata.Key.of(BraveHttpHeaders.ParentSpanId.getName(), Metadata.ASCII_STRING_MARSHALLER);
public static Metadata.Key SpanId =
Metadata.Key.of(BraveHttpHeaders.SpanId.getName(), Metadata.ASCII_STRING_MARSHALLER);
public static Metadata.Key TraceId =
Metadata.Key.of(BraveHttpHeaders.TraceId.getName(), Metadata.ASCII_STRING_MARSHALLER);
public static Metadata.Key Sampled =
Metadata.Key.of(BraveHttpHeaders.Sampled.getName(), Metadata.ASCII_STRING_MARSHALLER);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy