package v1

Import Path
	go.opentelemetry.io/proto/otlp/common/v1 (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 3 packages

Involved Source Files common.pb.go
Package-Level Type Names (total 13)
/* sort by: | */
AnyValue is used to represent any type of attribute value. AnyValue may contain a primitive value such as a string or integer or it may contain an arbitrary nested object containing arrays, key-value lists and primitives. The value is one of the listed fields. It is valid for all values to be unspecified in which case this AnyValue is considered to be "empty". Types that are assignable to Value: *AnyValue_StringValue *AnyValue_BoolValue *AnyValue_IntValue *AnyValue_DoubleValue *AnyValue_ArrayValue *AnyValue_KvlistValue *AnyValue_BytesValue Deprecated: Use AnyValue.ProtoReflect.Descriptor instead. (*AnyValue) GetArrayValue() *ArrayValue (*AnyValue) GetBoolValue() bool (*AnyValue) GetBytesValue() []byte (*AnyValue) GetDoubleValue() float64 (*AnyValue) GetIntValue() int64 (*AnyValue) GetKvlistValue() *KeyValueList (*AnyValue) GetStringValue() string (*AnyValue) GetValue() isAnyValue_Value (*AnyValue) ProtoMessage() (*AnyValue) ProtoReflect() protoreflect.Message (*AnyValue) Reset() (*AnyValue) String() string *AnyValue : expvar.Var *AnyValue : fmt.Stringer *AnyValue : github.com/gogo/protobuf/proto.Message *AnyValue : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *AnyValue : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*ArrayValue).GetValues() []*AnyValue func (*KeyValue).GetValue() *AnyValue func go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform.Value(v attribute.Value) *AnyValue
ArrayValue *ArrayValue
BoolValue bool
BytesValue []byte
DoubleValue float64
IntValue int64
KvlistValue *KeyValueList
StringValue string
ArrayValue is a list of AnyValue messages. We need ArrayValue as a message since oneof in AnyValue does not allow repeated fields. Array of values. The array may be empty (contain 0 elements). Deprecated: Use ArrayValue.ProtoReflect.Descriptor instead. (*ArrayValue) GetValues() []*AnyValue (*ArrayValue) ProtoMessage() (*ArrayValue) ProtoReflect() protoreflect.Message (*ArrayValue) Reset() (*ArrayValue) String() string *ArrayValue : expvar.Var *ArrayValue : fmt.Stringer *ArrayValue : github.com/gogo/protobuf/proto.Message *ArrayValue : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *ArrayValue : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*AnyValue).GetArrayValue() *ArrayValue
A reference to an Entity. Entity represents an object of interest associated with produced telemetry: e.g spans, metrics, profiles, or logs. Status: [Development] Descriptive (non-identifying) attribute keys of the entity. MAY change over the lifetime of the entity. MAY be empty. These attribute keys are not part of entity's identity. These keys MUST exist in the containing {message}.attributes. Attribute Keys that identify the entity. MUST not change during the lifetime of the entity. The Id must contain at least one attribute. These keys MUST exist in the containing {message}.attributes. The Schema URL, if known. This is the identifier of the Schema that the entity data is recorded in. To learn more about Schema URL see https://opentelemetry.io/docs/specs/otel/schemas/#schema-url This schema_url applies to the data in this message and to the Resource attributes referenced by id_keys and description_keys. TODO: discuss if we are happy with this somewhat complicated definition of what the schema_url applies to. This field obsoletes the schema_url field in ResourceMetrics/ResourceSpans/ResourceLogs. Defines the type of the entity. MUST not change during the lifetime of the entity. For example: "service" or "host". This field is required and MUST not be empty for valid entities. Deprecated: Use EntityRef.ProtoReflect.Descriptor instead. (*EntityRef) GetDescriptionKeys() []string (*EntityRef) GetIdKeys() []string (*EntityRef) GetSchemaUrl() string (*EntityRef) GetType() string (*EntityRef) ProtoMessage() (*EntityRef) ProtoReflect() protoreflect.Message (*EntityRef) Reset() (*EntityRef) String() string *EntityRef : expvar.Var *EntityRef : fmt.Stringer *EntityRef : github.com/gogo/protobuf/proto.Message *EntityRef : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *EntityRef : google.golang.org/protobuf/runtime/protoiface.MessageV1 func go.opentelemetry.io/proto/otlp/resource/v1.(*Resource).GetEntityRefs() []*EntityRef
InstrumentationScope is a message representing the instrumentation scope information such as the fully qualified name and version. Additional attributes that describe the scope. [Optional]. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). DroppedAttributesCount uint32 An empty instrumentation scope name means the name is unknown. Version string Deprecated: Use InstrumentationScope.ProtoReflect.Descriptor instead. (*InstrumentationScope) GetAttributes() []*KeyValue (*InstrumentationScope) GetDroppedAttributesCount() uint32 (*InstrumentationScope) GetName() string (*InstrumentationScope) GetVersion() string (*InstrumentationScope) ProtoMessage() (*InstrumentationScope) ProtoReflect() protoreflect.Message (*InstrumentationScope) Reset() (*InstrumentationScope) String() string *InstrumentationScope : expvar.Var *InstrumentationScope : fmt.Stringer *InstrumentationScope : github.com/gogo/protobuf/proto.Message *InstrumentationScope : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *InstrumentationScope : google.golang.org/protobuf/runtime/protoiface.MessageV1 func go.opentelemetry.io/proto/otlp/trace/v1.(*ScopeSpans).GetScope() *InstrumentationScope func go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform.InstrumentationScope(il instrumentation.Scope) *InstrumentationScope
KeyValue is a key-value pair that is used to store Span attributes, Link attributes, etc. Key string Value *AnyValue Deprecated: Use KeyValue.ProtoReflect.Descriptor instead. (*KeyValue) GetKey() string (*KeyValue) GetValue() *AnyValue (*KeyValue) ProtoMessage() (*KeyValue) ProtoReflect() protoreflect.Message (*KeyValue) Reset() (*KeyValue) String() string *KeyValue : expvar.Var *KeyValue : fmt.Stringer *KeyValue : github.com/gogo/protobuf/proto.Message *KeyValue : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *KeyValue : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*InstrumentationScope).GetAttributes() []*KeyValue func (*KeyValueList).GetValues() []*KeyValue func go.opentelemetry.io/proto/otlp/resource/v1.(*Resource).GetAttributes() []*KeyValue func go.opentelemetry.io/proto/otlp/trace/v1.(*Span).GetAttributes() []*KeyValue func go.opentelemetry.io/proto/otlp/trace/v1.(*Span_Event).GetAttributes() []*KeyValue func go.opentelemetry.io/proto/otlp/trace/v1.(*Span_Link).GetAttributes() []*KeyValue func go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform.Iterator(iter attribute.Iterator) []*KeyValue func go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform.KeyValue(kv attribute.KeyValue) *KeyValue func go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform.KeyValues(attrs []attribute.KeyValue) []*KeyValue func go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform.ResourceAttributes(res *resource.Resource) []*KeyValue
KeyValueList is a list of KeyValue messages. We need KeyValueList as a message since `oneof` in AnyValue does not allow repeated fields. Everywhere else where we need a list of KeyValue messages (e.g. in Span) we use `repeated KeyValue` directly to avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches are semantically equivalent. A collection of key/value pairs of key-value pairs. The list may be empty (may contain 0 elements). The keys MUST be unique (it is not allowed to have more than one value with the same key). Deprecated: Use KeyValueList.ProtoReflect.Descriptor instead. (*KeyValueList) GetValues() []*KeyValue (*KeyValueList) ProtoMessage() (*KeyValueList) ProtoReflect() protoreflect.Message (*KeyValueList) Reset() (*KeyValueList) String() string *KeyValueList : expvar.Var *KeyValueList : fmt.Stringer *KeyValueList : github.com/gogo/protobuf/proto.Message *KeyValueList : google.golang.org/protobuf/reflect/protoreflect.ProtoMessage *KeyValueList : google.golang.org/protobuf/runtime/protoiface.MessageV1 func (*AnyValue).GetKvlistValue() *KeyValueList