tracing

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 12 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WithTimestamp  = trace.WithTimestamp
	WithAttributes = trace.WithAttributes
	Int            = attribute.Int
	Bool           = attribute.Bool
	String         = attribute.String
)

Functions

func MarshalContext added in v0.4.0

func MarshalContext(c trace.SpanContext) ([]byte, error)

func NewLabels added in v0.4.0

func NewLabels(keys []string) labels

func NewProviderWithNodeName added in v0.4.0

func NewProviderWithNodeName(p trace.TracerProvider, nodeName string) trace.TracerProvider

func NewTracerProvider added in v0.4.0

func NewTracerProvider(confService driver.ConfigService, metricsProvider metrics.Provider) (trace.TracerProvider, error)

func NewTracerProviderWithBackingProvider added in v0.4.0

func NewTracerProviderWithBackingProvider(tp trace.TracerProvider, mp metricsProvider) trace.TracerProvider

func UnmarshalContext added in v0.4.0

func UnmarshalContext(data []byte) (trace.SpanContext, error)

func WithMetricsOpts added in v0.4.0

func WithMetricsOpts(o MetricsOpts) trace.TracerOption

Types

type EventOption added in v0.4.0

type EventOption = trace.EventOption

type KeyValue added in v0.4.0

type KeyValue = attribute.KeyValue

type LabelName added in v0.4.0

type LabelName = string

type MetricsOpts added in v0.4.0

type MetricsOpts struct {
	Namespace  string
	LabelNames []LabelName
}

type SpanEndOption added in v0.4.0

type SpanEndOption = trace.SpanEndOption

type SpanStartOption added in v0.4.0

type SpanStartOption = trace.SpanStartOption

Jump to

Keyboard shortcuts

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