Apm logs (transactions) not showing in kibana

Hi everyone,

I'm encountering an issue with APM logs (transactions) not showing up in Kibana after upgrading from elastic-apm==6.10.1. My current setup includes:

  • FastAPI
  • Using [elasticapm.capture_span(...)] to capture logs after initialization.
  • python 3.11

Reason for upgrade : ImportError: cannot import name 'formatargspec' from 'inspect'

The same code works perfectly with elastic-apm==6.10.1, but after the upgrade, the APM logs are no longer visible. I haven't found any syntax changes in the changelogs either.

Has anyone else experienced a similar issue or have any insights on what might be going wrong?
Any support would be greatly appreciated.
Thanks