You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KeyError: 'otel_attributes'
File "elasticapm/contrib/starlette/__init__.py", line 185, in __call__
self.client.end_transaction()
File "elasticapm/base.py", line 313, in end_transaction
transaction = self.tracer.end_transaction(result, name, duration=duration)
File "elasticapm/traces.py", line 898, in end_transaction
transaction.end(duration=duration)
File "elasticapm/traces.py", line 232, in end
super().end(skip_frames, duration)
File "elasticapm/traces.py", line 126, in end
self.compression_buffer.report()
File "elasticapm/traces.py", line 670, in report
self.tracer.queue_func(SPAN, self.to_dict())
File "elasticapm/traces.py", line 580, in to_dict
attributes = self.context.pop("otel_attributes")
The text was updated successfully, but these errors were encountered:
the issue wasn't originally caught in testing because we hardcode
the server_version to a certain value (currently 8.0.0), and this
bug was in a branch that only is hit with a server version lower
than 7.16
fixeselastic#1509
Hey @kvspb, thanks for raising this! I opened #1510, which should fix this. We'll get a release shipped ASAP. In the meantime, you could either downgrade elastic-apm to the previous version, or update APM Server to 7.16 (and the rest of the Elastic stack, if necessary)
* fix issue in span serialization when using APM Server < 7.16
the issue wasn't originally caught in testing because we hardcode
the server_version to a certain value (currently 8.0.0), and this
bug was in a branch that only is hit with a server version lower
than 7.16
fixes#1509
* CHANGELOG
Co-authored-by: Colton Myers <colton.myers@gmail.com>
elastic-apm: 6.9.0
The text was updated successfully, but these errors were encountered: