bricks: github.com/pace/bricks/maintenance/tracing Index | Files | Directories

package tracing

import "github.com/pace/bricks/maintenance/tracing"

Index

Package Files

tracing.go

Variables

var Closer io.Closer

Closer can be used in shutdown hooks to ensure that the internal queue of the Reporter is drained and all buffered spans are submitted to collectors.

var Tracer opentracing.Tracer

Tracer implementation that reports tracing to Jaeger

func Handler Uses

func Handler(ignoredPrefixes ...string) func(http.Handler) http.Handler

Handler generates a tracing handler that decodes the current trace from the wire. The tracing handler will not start traces for the list of ignoredPrefixes.

func Request Uses

func Request(r *http.Request) *http.Request

Request augments an outgoing request for further tracing

Directories

PathSynopsis
wire

Package tracing imports 10 packages (graph) and is imported by 1 packages. Updated 2020-08-06. Refresh now. Tools for package owners.