tracing

package
v0.0.0-...-81dd437 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tracing contains middlewares that will add spans to existing traces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChannelCacheMiddleware

func ChannelCacheMiddleware(tracer opentracing.Tracer, cache things.ChannelCache) things.ChannelCache

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

func ChannelRepositoryMiddleware

func ChannelRepositoryMiddleware(tracer opentracing.Tracer, repo things.ChannelRepository) things.ChannelRepository

ChannelRepositoryMiddleware tracks request 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 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