tracing

package
v0.0.0-...-f17446d Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 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 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