package opentelemetry.proto.common.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AnyValue

common.proto:27

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.

Used in: ArrayValue, KeyValue, logs.v1.LogRecord

message ArrayValue

common.proto:43

ArrayValue is a list of AnyValue messages. We need ArrayValue as a message since oneof in AnyValue does not allow repeated fields.

Used in: AnyValue

message InstrumentationLibrary

common.proto:73

InstrumentationLibrary is a message representing the instrumentation library information such as the fully qualified name and version. InstrumentationLibrary is wire-compatible with InstrumentationScope for binary Protobuf format. This message is deprecated and will be removed on June 15, 2022.

Used in: logs.v1.InstrumentationLibraryLogs, metrics.v1.InstrumentationLibraryMetrics, trace.v1.InstrumentationLibrarySpans

message InstrumentationScope

common.proto:83

InstrumentationScope is a message representing the instrumentation scope information such as the fully qualified name and version.

Used in: logs.v1.ScopeLogs, metrics.v1.ScopeMetrics, trace.v1.ScopeSpans

message KeyValue

common.proto:63

KeyValue is a key-value pair that is used to store Span attributes, Link attributes, etc.

Used in: KeyValueList, logs.v1.LogRecord, metrics.v1.Exemplar, metrics.v1.ExponentialHistogramDataPoint, metrics.v1.HistogramDataPoint, metrics.v1.NumberDataPoint, metrics.v1.SummaryDataPoint, resource.v1.Resource, trace.v1.Span, trace.v1.Span.Event, trace.v1.Span.Link

message KeyValueList

common.proto:53

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.

Used in: AnyValue