Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Jaeger ¶
type Jaeger struct {
opentracing.Tracer
ServiceName string
Metrics *prometheus.Factory
Closer io.Closer
}
func InitJaeger ¶
func (*Jaeger) GracefulShutdown ¶
type TracedServeMux ¶
type TracedServeMux struct {
// contains filtered or unexported fields
}
TracedServeMux is a wrapper around http.ServeMux that instruments handlers for tracing.
func NewServeMux ¶
func NewServeMux(tracer opentracing.Tracer) *TracedServeMux
NewServeMux creates a new TracedServeMux.
func (*TracedServeMux) Handle ¶
func (tm *TracedServeMux) Handle(pattern string, handler http.Handler)
Handle implements http.ServeMux#Handle
func (*TracedServeMux) ServeHTTP ¶
func (tm *TracedServeMux) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.ServeMux#ServeHTTP
Click to show internal directories.
Click to hide internal directories.