trace

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAppInsightsExportor

func RegisterAppInsightsExportor(serviceName, agentEndpoint string) error

RegisterAppInsightsExportor registers the app insights exporter

func RegisterJaegerExporter

func RegisterJaegerExporter(serviceName string) error

RegisterJaegerExporter registers a new jaeger exporter.

func SetupTracing

func SetupTracing(serviceName string, exporters ...string) error

SetupTracing setup default tracing

func StartSpan

func StartSpan(ctx context.Context, name string) (context.Context, *trace.Span)

func StartSpanWithTags

func StartSpanWithTags(ctx context.Context, name string, tags map[string]string) (context.Context, *trace.Span)

Types

This section is empty.

Jump to

Keyboard shortcuts

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