Documentation ¶
Index ¶
- func Iterator(iter attribute.Iterator) []*commonpb.KeyValue
- func KeyValue(kv attribute.KeyValue) *commonpb.KeyValue
- func KeyValues(attrs []attribute.KeyValue) []*commonpb.KeyValue
- func Resource(r *resource.Resource) *resourcepb.Resource
- 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 Resource ¶
func Resource(r *resource.Resource) *resourcepb.Resource
Resource transforms a Resource into an OTLP Resource.
func ResourceAttributes ¶
ResourceAttributes transforms a Resource OTLP key-values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.