Make logs format compatible with OpenTelemetry event

Created on 4 December 2024, 5 months ago

Problem/Motivation

Now logs submitted by the opentelemetry_logs module put the OpenTelemetry\API\Logs\LogRecord object as the log body, which leads to the empty body received in the OpenTelemetry receiver.

The right way is to put the array of data there instead.

Steps to reproduce

Proposed resolution

Put the $payload array with data instead of the LogRecord object.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇲Armenia murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024