package opentelemetry.proto.logs.v1

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

message LogRecord

logs.proto:134

A log record according to OpenTelemetry Log Data Model: https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md

Used in: ScopeLogs

enum LogRecordFlags

logs.proto:121

LogRecordFlags represents constants used to interpret the LogRecord.flags field, which is protobuf 'fixed32' type and is to be used as bit-fields. Each non-zero value defined in this enum is a bit-mask. To extract the bit-field, for example, use an expression like: (logRecord.flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK)

message LogsData

logs.proto:38

LogsData represents the logs data that can be stored in a persistent storage, OR can be embedded by other protocols that transfer OTLP logs data but do not implement the OTLP protocol. The main difference between this message and collector protocol is that in this message there will not be any "control" or "metadata" specific to OTLP protocol. When new fields are added into this message, the OTLP request MUST be updated as well.

message ResourceLogs

logs.proto:48

A collection of ScopeLogs from a Resource.

Used in: collector.logs.v1.ExportLogsServiceRequest, LogsData

message ScopeLogs

logs.proto:67

A collection of Logs produced by a Scope.

Used in: ResourceLogs

enum SeverityNumber

logs.proto:84

Possible values for LogRecord.SeverityNumber.

Used in: LogRecord