tracing

package
v0.0.0-...-6b7e295 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Tracer(name string) interface{}
	Span(ctx context.Context)
	AddEvent(name string, attrs ...*KeyValue)
}

Handler is the handler interface for tracing

func New

func New(service string, endpoint string) (Handler, error)

New initiates the tracing provider for a given service

type KeyValue

type KeyValue struct {
	Key   string
	Value string
}

KeyValue is the key value datastructure for store

Jump to

Keyboard shortcuts

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