Documentation ¶
Index ¶
- func Iterator(iter attribute.Iterator) []*commonpb.KeyValue
- func KeyValue(kv attribute.KeyValue) *commonpb.KeyValue
- func KeyValues(attrs []attribute.KeyValue) []*commonpb.KeyValue
- func Logs(sdl []sdk.ReadableLogRecord) []*logspb.ResourceLogs
- func ResourceAttributes(res *resource.Resource) []*commonpb.KeyValue
- func Value(v attribute.Value) *commonpb.AnyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logs ¶
func Logs(sdl []sdk.ReadableLogRecord) []*logspb.ResourceLogs
Logs transforms OpenTelemetry LogRecord's into a OTLP ResourceLogs
func ResourceAttributes ¶
ResourceAttributes transforms a Resource OTLP key-values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.