type go.opentelemetry.io/proto/otlp/common/v1.KeyValue
30 uses
go.opentelemetry.io/proto/otlp/common/v1 (current package)
common.pb.go#L294: Values []*KeyValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
common.pb.go#L329: func (x *KeyValueList) GetValues() []*KeyValue {
common.pb.go#L338: type KeyValue struct {
common.pb.go#L363: func (x *KeyValue) Reset() {
common.pb.go#L364: *x = KeyValue{}
common.pb.go#L370: func (x *KeyValue) String() string {
common.pb.go#L374: func (*KeyValue) ProtoMessage() {}
common.pb.go#L376: func (x *KeyValue) ProtoReflect() protoreflect.Message {
common.pb.go#L389: func (*KeyValue) Descriptor() ([]byte, []int) {
common.pb.go#L393: func (x *KeyValue) GetKey() string {
common.pb.go#L400: func (x *KeyValue) GetValue() *AnyValue {
common.pb.go#L407: func (x *KeyValue) GetKeyStrindex() int32 {
common.pb.go#L428: Attributes []*KeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
common.pb.go#L481: func (x *InstrumentationScope) GetAttributes() []*KeyValue {
common.pb.go#L648: (*KeyValue)(nil), // 3: opentelemetry.proto.common.v1.KeyValue
go.opentelemetry.io/proto/otlp/resource/v1
resource.pb.go#L46: Attributes []*v1.KeyValue `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
resource.pb.go#L92: func (x *Resource) GetAttributes() []*v1.KeyValue {
resource.pb.go#L142: (*v1.KeyValue)(nil), // 1: opentelemetry.proto.common.v1.KeyValue
go.opentelemetry.io/proto/otlp/trace/v1
trace.pb.go#L537: Attributes []*v11.KeyValue `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"`
trace.pb.go#L653: func (x *Span) GetAttributes() []*v11.KeyValue {
trace.pb.go#L771: Attributes []*v11.KeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
trace.pb.go#L823: func (x *Span_Event) GetAttributes() []*v11.KeyValue {
trace.pb.go#L854: Attributes []*v11.KeyValue `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
trace.pb.go#L933: func (x *Span_Link) GetAttributes() []*v11.KeyValue {
trace.pb.go#L1063: (*v11.KeyValue)(nil), // 12: opentelemetry.proto.common.v1.KeyValue
go.pact.im/x/traces/otlptraces
encode.go#L76: func encodeAttrs(attrs []traces.Attr) []*commonpb.KeyValue {
encode.go#L80: kvs := make([]*commonpb.KeyValue, len(attrs))
encode.go#L82: kv := &commonpb.KeyValue{Key: a.Key}
encode.go#L145: var kvs []*commonpb.KeyValue
encode.go#L147: kv := &commonpb.KeyValue{Key: key}