Documentation ¶
Overview ¶
Package transform provides translations for opentelemetry-go concepts and structures to otlp structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnimplementedAgg = errors.New("unimplemented aggregator")
ErrUnimplementedAgg is returned when a transformation of an unimplemented aggregator is attempted.
Functions ¶
func Attributes ¶ added in v0.4.0
func Attributes(attrs []core.KeyValue) []*commonpb.AttributeKeyValue
Attributes transforms a slice of KeyValues into a slice of OTLP attribute key-values.
func Record ¶
Record transforms a Record into an OTLP Metric. An ErrUnimplementedAgg error is returned if the Record Aggregator is not supported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.