Documentation ¶
Index ¶
- func AddOpenTelemetryToClient(httpClient *http.Client, meterProvider meter.MeterProvider, ...) *http.Client
- func AddToAmqp(ctx context.Context, payload amqp.Publishing) amqp.Publishing
- func FromAmqp(ctx context.Context, message amqp.Delivery) context.Context
- type Config
- type FinishSpan
- type OtlpLogger
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOpenTelemetryToClient ¶
func AddOpenTelemetryToClient(httpClient *http.Client, meterProvider meter.MeterProvider, tracerProvider tr.TracerProvider) *http.Client
func AddToAmqp ¶ added in v4.69.7
func AddToAmqp(ctx context.Context, payload amqp.Publishing) amqp.Publishing
Types ¶
type FinishSpan ¶ added in v4.64.0
type FinishSpan = func(err *error, options ...tr.SpanEndOption)
type OtlpLogger ¶ added in v4.69.1
type Service ¶ added in v4.64.0
type Service struct { TraceUint64 bool // contains filtered or unexported fields }
func (Service) AddTraceToLogHandler ¶ added in v4.69.2
func (Service) MeterProvider ¶ added in v4.64.0
func (s Service) MeterProvider() meter.MeterProvider
func (Service) Middleware ¶ added in v4.64.0
func (Service) TracerProvider ¶ added in v4.64.0
func (s Service) TracerProvider() tr.TracerProvider
Click to show internal directories.
Click to hide internal directories.