Documentation ¶
Overview ¶
Original source: https://github.com/open-telemetry/opentelemetry-go/blob/v1.31.0/exporters/otlp/otlptrace/internal/tracetransform/attribute.go
Original source: https://github.com/open-telemetry/opentelemetry-go/blob/v1.31.0/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go
Original source: https://github.com/open-telemetry/opentelemetry-go/blob/v1.31.0/exporters/otlp/otlptrace/internal/tracetransform/resource.go
Original source: https://github.com/open-telemetry/opentelemetry-go/blob/v1.31.0/exporters/otlp/otlptrace/internal/tracetransform/span.go
Index ¶
- func Iterator(iter attribute.Iterator) []*types.KeyValue
- func KeyValue(kv attribute.KeyValue) *types.KeyValue
- func KeyValues(attrs []attribute.KeyValue) []*types.KeyValue
- func Resource(r *resource.Resource) *types.Resource
- func ResourceAttributes(res *resource.Resource) []*types.KeyValue
- func ResourceSpans(spans []tracesdk.ReadOnlySpan) []*types.ResourceSpans
- func Value(v attribute.Value) *types.AnyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceAttributes ¶
ResourceAttributes transforms a Resource OTLP key-values.
func ResourceSpans ¶
func ResourceSpans(spans []tracesdk.ReadOnlySpan) []*types.ResourceSpans
ResourceSpans transforms a slice of OpenTelemetry spans into a slice of OTLP ResourceSpans.
Types ¶
This section is empty.