Documentation ¶
Index ¶
- Variables
- func MarshalContext(c trace.SpanContext) ([]byte, error)
- func NewLabels(keys []string) labels
- func NewProviderWithNodeName(p trace.TracerProvider, nodeName string) trace.TracerProvider
- func NewTracerProvider(confService driver.ConfigService, metricsProvider metrics.Provider) (trace.TracerProvider, error)
- func NewTracerProviderWithBackingProvider(tp trace.TracerProvider, mp metricsProvider) trace.TracerProvider
- func UnmarshalContext(data []byte) (trace.SpanContext, error)
- func WithMetricsOpts(o MetricsOpts) trace.TracerOption
- type EventOption
- type KeyValue
- type LabelName
- type MetricsOpts
- type SpanEndOption
- type SpanStartOption
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 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 MetricsOpts ¶ added in v0.4.0
type SpanEndOption ¶ added in v0.4.0
type SpanEndOption = trace.SpanEndOption
type SpanStartOption ¶ added in v0.4.0
type SpanStartOption = trace.SpanStartOption
Click to show internal directories.
Click to hide internal directories.