apptelemetry

package
v0.0.0-...-aace954 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataSourceTypeKey = "db"
)

Variables

This section is empty.

Functions

func CreateFunctionSpan

func CreateFunctionSpan(ctx context.Context, componentName string, funcName string, attributes ...attribute.KeyValue) trace.Span

func CreateRepoFunctionSpan

func CreateRepoFunctionSpan(ctx context.Context, componentName string, funcName string, dataSourceType string, attributes ...attribute.KeyValue) trace.Span

func SetSpanError

func SetSpanError(span *trace.Span, err errors.RichError, optionalEventString string)

func SetSpanOriginalError

func SetSpanOriginalError(span *trace.Span, err errors.RichError, eventString string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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