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
Issue fork opentelemetry-3491563
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
murzFixed.
Comment #5
murz