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

Command icon 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

murz created an issue. See original summary.

  • murz committed 8ba109fb on 1.0.x
    Issue #3491563 by murz: Make logs format compatible with OpenTelemetry...
murz’s picture

Status: Active » Fixed

Fixed.

murz’s picture

Status: Fixed » Closed (fixed)