Module: OpenTelemetry::SemConv::Incubating::LOG

Defined in:
lib/opentelemetry/semconv/incubating/log/attributes.rb

Attribute Names collapse

LOG_FILE_NAME =
Note:

Stability Level: development

The basename of the file.

Examples:

Sample Values

audit.log
'log.file.name'
LOG_FILE_NAME_RESOLVED =
Note:

Stability Level: development

The basename of the file, with symlinks resolved.

Examples:

Sample Values

uuid.log
'log.file.name_resolved'
LOG_FILE_PATH =
Note:

Stability Level: development

The full path to the file.

Examples:

Sample Values

/var/log/mysql/audit.log
'log.file.path'
LOG_FILE_PATH_RESOLVED =
Note:

Stability Level: development

The full path to the file, with symlinks resolved.

Examples:

Sample Values

/var/lib/docker/uuid.log
'log.file.path_resolved'
LOG_IOSTREAM =
Note:

Stability Level: development

The stream associated with the log. See below for a list of well-known values.

'log.iostream'
LOG_RECORD_ORIGINAL =
Note:

Stability Level: development

The complete original Log Record.

This value MAY be added when processing a Log Record which was originally transmitted as a string or equivalent data type AND the Body field of the Log Record does not contain the same value. (e.g. a syslog or a log record read from a file.)

Examples:

Sample Values

77 <86>1 2015-08-06T21:58:59.694Z 192.168.2.133 inactive - - - Something happened
[INFO] 8/3/24 12:34:56 Something happened
'log.record.original'
LOG_RECORD_UID =
Note:

Stability Level: development

A unique identifier for the Log Record.

If an id is provided, other log records with the same id will be considered duplicates and can be removed safely. This means, that two distinguishable log records MUST have different values. The id MAY be an Universally Unique Lexicographically Sortable Identifier (ULID), but other identifiers (e.g. UUID) may be used as needed.

Examples:

Sample Values

01ARZ3NDEKTSV4RRFFQ69G5FAV
'log.record.uid'