Categorygithub.com/hashicorp-demoapp/go-hckit
modulepackage
0.0.2
Repository: https://github.com/hashicorp-demoapp/go-hckit.git
Documentation: pkg.go.dev

# README

go-hckit

Standard library of reusable abstractions.

# Functions

InitGlobalTracer sets the GlobalTracer to an instance of Jaeger Tracer that loads the Jaeger tracer from the environment, samples 100% of traces, and logs all spans to stdout.
InjectHeaders injects the necessary opentracing headers to support distributed tracing.
TracingMiddleware returns an HTTP Handler appropriate for Middleware chaining via Router.Use.

# Structs

TracingRoundTripper implements the http.RoundTripper interface.