Documentation
¶
Index ¶
Constants ¶
View Source
const ( B3TraceIDHeader = "X-B3-TraceId" B3SpanIDHeader = "X-B3-SpanId" )
Variables ¶
This section is empty.
Functions ¶
func WrapForCFOnK8sAuth ¶
func WrapForCFOnK8sAuth(config command.Config, k8sConfigGetter v7action.KubernetesConfigGetter, roundTripper http.RoundTripper) (http.RoundTripper, error)
Types ¶
type TraceHeaders ¶
type TraceHeaders struct {
// contains filtered or unexported fields
}
TraceHeaders sets b3 trace headers to requests.
func NewTraceHeaders ¶
func NewTraceHeaders(trace string) *TraceHeaders
NewTraceHeaders returns a pointer to a TraceHeaderRequest.
func (*TraceHeaders) SetHeaders ¶
func (t *TraceHeaders) SetHeaders(request *http.Request)
Add tracing headers if they are not already set.
Click to show internal directories.
Click to hide internal directories.