# README
go-opentelemetry-jaeger
# Packages
No description provided by the author
# Functions
Extract extracts trace id data from HeaderCarrier, needed to get trace from request.
GetSpanContext get trace id from context.
No description provided by the author
GinMiddleware middleware for gin gonic Starts and Ends span for each request.
No description provided by the author
No description provided by the author
Inject injects trace id data to HeaderCarrier, needed to pass trace id further to next service.
InjectSpanInGinContext injects trace id to gin context.
NewRabbitMQSpan creates new span for rabbitmq listener with additional attributes if passed.
NewResponseWriter creates a new responseWriter instance.
NewSpan creates new span with additional attributes if passed.
NewSpanFromGinContext creates new span from gin context with additional attributes if passed.
NewTracerProvider creates new tracer provider with jaeger exporter registers tracer provider globally registers jaeger text map propagator globally also sets basic otel attributes accoding to specification.
NoOpEndUserId ...
# Variables
AppName service name for jaeger ui.
Environment env for jaeger ui.
MessagingSystem message broker type according to specification.
PeerName peer name according to specs.
PeerPort peer port according to specs.
UserIdentityKey key that represents user identity in http headers.
# Structs
ResponseWriter helps to intercept http status code from http.ResponseWriter.
# Type aliases
EndUserIdReceiver retrieves user id from context.
No description provided by the author