tracing

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 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 StateRepositoryMiddleware

func StateRepositoryMiddleware(tracer opentracing.Tracer, repo twins.StateRepository) twins.StateRepository

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

func TwinCacheMiddleware

func TwinCacheMiddleware(tracer opentracing.Tracer, cache twins.TwinCache) twins.TwinCache

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

func TwinRepositoryMiddleware

func TwinRepositoryMiddleware(tracer opentracing.Tracer, repo twins.TwinRepository) twins.TwinRepository

TwinRepositoryMiddleware 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