Documentation ¶
Overview ¶
Package tracing contains middlewares that will add spans to existing traces.
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(repo auth.KeyRepository, tracer opentracing.Tracer) auth.KeyRepository
New tracks request and their latency, and adds spans to context.
func OrgRepositoryMiddleware ¶
func OrgRepositoryMiddleware(tracer opentracing.Tracer, gr auth.OrgRepository) auth.OrgRepository
OrgRepositoryMiddleware tracks request and their latency, and adds spans to context.
func RolesRepositoryMiddleware ¶
func RolesRepositoryMiddleware(tracer opentracing.Tracer, rr auth.RolesRepository) auth.RolesRepository
OrgRepositoryMiddleware tracks request and their latency, and adds spans to context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.