Documentation ¶
Overview ¶
Package tracing provides tracing instrumentation for Magistrala WebSocket adapter service.
This package provides tracing middleware for Magistrala WebSocket adapter service. It can be used to trace incoming requests and add tracing capabilities to Magistrala WebSocket adapter service.
For more details about tracing instrumentation for Magistrala messaging refer to the documentation at https://docs.magistrala.abstractmachines.fr/tracing/.
Package tracing contains middlewares that will add spans to existing traces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(tracer trace.Tracer, repo notifiers.SubscriptionsRepository) notifiers.SubscriptionsRepository
New instantiates a new Subscriptions repository that tracks request and their latency, and adds spans to context.
Types ¶
This section is empty.