package transform
import "github.com/moby/buildkit/util/tracing/transform"
Index ¶
- func Attributes(attrs []*commonpb.KeyValue) []attribute.KeyValue
- func Spans(sdl []*tracepb.ResourceSpans) []tracesdk.ReadOnlySpan
Functions ¶
func Attributes ¶
Attributes transforms a slice of OTLP attribute key-values into a slice of KeyValues
func Spans ¶
func Spans(sdl []*tracepb.ResourceSpans) []tracesdk.ReadOnlySpan
Spans transforms slice of OTLP ResourceSpan into a slice of SpanSnapshots.
Source Files ¶
attribute.go instrumentation.go span.go
- Version
- v0.13.1
- Published
- Mar 18, 2024
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 12 hours ago –
Tools for package owners.