open-telemetry / opentelemetry-python

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

fix _encode_events assumes events.attributes.dropped exists #3965

Closed soumyadeepm04 closed 1 week ago

soumyadeepm04 commented 2 weeks ago

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. created a dropped_attributes property in Events similar to ReadableSpan.

Fixes #3761

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

created an event object and tested it locally.

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:

soumyadeepm04 commented 2 weeks ago

All the tests say "GitHub Actions has encountered an internal error when running your job.". Is there some issue with it?

emdneto commented 2 weeks ago

@soumyadeepm04, could you please add a changelog entry?