Skip to content

Missing OTEL LogRecord fields #826

@bmiguel-teixeira

Description

@bmiguel-teixeira

Is your feature request related to a problem? Please describe

VictoriaLogs is not unmarhsalling some OTEL LogRecords. See SPEC.

In this case we were interested in the [EventName] fields.

Attached below current in-use fields in the source code.

https://github.com/VictoriaMetrics/VictoriaMetrics/blob/5dbca072bbda3dde192b3add00a1493698bee2d8/lib/protoparser/opentelemetry/pb/logs.go#L146-L172

Describe the solution you'd like

Add missed fields, parse it as attributes and store

Describe alternatives you've considered

N/A

Additional information

Is there a reason we dont unmarhal all fields? (like for ex: InstrumentationScope etc). Or were they simply never added as they werent necessary?

Cheers

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions