Documentation ¶
Index ¶
- func InstrumentationScope(il instrumentation.Scope) *commonpb.InstrumentationScope
- 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(resource *resource.Resource) []*commonpb.KeyValue
- func Value(v attribute.Value) *commonpb.AnyValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstrumentationScope ¶ added in v2.1.2
func InstrumentationScope(il instrumentation.Scope) *commonpb.InstrumentationScope
nolint: staticcheck
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.