MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / GetTracer

Function GetTracer

shared/tracing/tracing.go:43–45  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

41}
42
43func GetTracer(name string) trace.Tracer {
44 return otel.GetTracerProvider().Tracer(name)
45}
46
47func newExporter(endpoint string) (sdktrace.SpanExporter, error) {
48 return jaeger.New(jaeger.WithCollectorEndpoint(jaeger.WithEndpoint(endpoint)))

Callers 1

http.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected