question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Python] elastic-apm 6.8.0 : no more SQL informations in the timeline

See original GitHub issue

Describe the bug: …

To Reproduce

  1. Python project with elastic-apm 6.8.0
  2. Python project with databases/queries…

Environment (please complete the following information)

  • OS: Docker / Python 3.10.2 / Debian bullseye
  • Python version: 3.10.2
  • Framework and version [e.g. Django 2.1]: FastAPI 0.75.0 / SQLAlchemy 1.4.32
  • APM Server version: 7.16.2
  • Agent version: elastic-apm 6.8.0

Additional context

Add any other context about the problem here.

  • Agent config options

    Click to expand
    Default Elastic Google Cloud config
    
  • requirements.txt:

    Click to expand
    fastapi==0.75.0
    uvicorn==0.17.5
    pydantic[dotenv]==1.9.0
    requests==2.27.1
    alembic==1.7.6
    PyMySQL==1.0.2
    SQLAlchemy==1.4.32
    python-slugify==6.1.1
    elastic-apm==6.8.0
    cryptography==36.0.1
    pycountry==22.3.5
    python-jose==3.3.0
    

With the upgrade of elastic-apm from 6.7.2 to 6.8.0 I’ve lost SQL informations in the timeline :

imagen

When I downgrade elastic-apm to 6.7.2 everything is working well :

imagen

Could you please confirm this bug ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
basepicommented, Mar 9, 2022

This is definitely the new “dropping fast exit spans” feature. I’ve got a fix in the works (#1483). Apologies for the regression!

0reactions
chichi13commented, Mar 9, 2022

Thanks for the quick fix ! I’ll downgrade until the new version

Read more comments on GitHub >

github_iconTop Results From Across the Web

APM HTTP request information missing · Issue #1148 - GitHub
Describe the bug: ... The request information like url.path and other information like headers and cookies are not found like what we were ......
Read more >
Data security | APM User Guide [master] - Elastic
When setting up Elastic APM, it's essential to review all captured data carefully to ensure it does not contain sensitive information.
Read more >
Elastic APM transaction timeline is missing - Stack Overflow
Recently I found that Timeline pane in Transactions menu doesn't show spans for SQL, Redis etc. I went through kibana log but no...
Read more >
elastic-apm - PyPI
Your application doesn't live on the web? No problem! Elastic APM is easy to use in any Python application. Read the documentation, including...
Read more >
Get Application Performance Metrics on Python Flask With ...
In this post, we will set up a Python Flask Application which includes the APM Agent ... If you have not set up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found