tracing

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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 GroupCacheMiddleware added in v0.25.0

func GroupCacheMiddleware(tracer opentracing.Tracer, cache things.GroupCache) things.GroupCache

GroupCacheMiddleware tracks request and their latency, and adds spans to context.

func GroupMembershipsRepositoryMiddleware added in v0.29.0

func GroupMembershipsRepositoryMiddleware(tracer opentracing.Tracer, repo things.GroupMembershipsRepository) things.GroupMembershipsRepository

GroupMembershipsRepositoryMiddleware tracks requests and their latency, and adds spans to context.

func GroupRepositoryMiddleware

func GroupRepositoryMiddleware(tracer opentracing.Tracer, repo things.GroupRepository) things.GroupRepository

GroupRepositoryMiddleware tracks request and their latency, and adds spans to context.

func ProfileCacheMiddleware added in v0.24.0

func ProfileCacheMiddleware(tracer opentracing.Tracer, cache things.ProfileCache) things.ProfileCache

ProfileCacheMiddleware tracks request and their latency, and adds spans to context.

func ProfileRepositoryMiddleware added in v0.24.0

func ProfileRepositoryMiddleware(tracer opentracing.Tracer, repo things.ProfileRepository) things.ProfileRepository

ProfileRepositoryMiddleware tracks request and their latency, and adds spans to context.

func ThingCacheMiddleware

func ThingCacheMiddleware(tracer opentracing.Tracer, cache things.ThingCache) things.ThingCache

ThingCacheMiddleware tracks request and their latency, and adds spans to context.

func ThingRepositoryMiddleware

func ThingRepositoryMiddleware(tracer opentracing.Tracer, repo things.ThingRepository) things.ThingRepository

ThingRepositoryMiddleware tracks request and their latency, and adds spans to context.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL