open-telemetry / opentelemetry-python

OpenTelemetry Python API and SDK
https://opentelemetry.io
Apache License 2.0
1.76k stars 614 forks source link

Fix otlp exporter to export log_record.observed_timestamp #3785

Closed carsonip closed 6 months ago

carsonip commented 6 months ago

Description

Following #3564 and #3565, fix otlp exporter to export observed_timestamp field for logs.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Does This PR Require a Contrib Repo Change?

Answer the following question based on these examples of changes that would require a Contrib Repo Change:

Checklist: