# Functions
ConstructNewSpanContext helper function to inject in open telemetry refid from context.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTPMiddleware Assume that spanID and TraceID already in ctx Example:
h := refid.HTTPMiddleware(tracing.HTTPMiddleware(otelhttp.NewHandler(s.newRouter(), "app-test", otelhttp.WithTracerProvider(otel.GetTracerProvider()), otelhttp.WithPropagators(propagation.TraceContext{}), ))).
No description provided by the author
No description provided by the author
NewGRPCClient create new open telemetry tracing grpc client.
NewHTTPClient create new open telemetry tracing http client.
No description provided by the author