apm-agent-python icon indicating copy to clipboard operation
apm-agent-python copied to clipboard

Official Python agent for Elastic APM

Results 205 apm-agent-python issues
Sort by recently updated
recently updated
newest added

We use psycopg connection pool in out FastAPI auto instrumented component, previously we used psycopg.connect directly without connection pool and PG spans were properly reported after switching to connection pool...

agent-python
community
triage

Bumps the github-actions group with 1 update in the / directory: [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action). Updates `docker/setup-buildx-action` from 3.10.0 to 3.11.1 Release notes Sourced from docker/setup-buildx-action's releases. v3.11.1 Fix keep-state not being respected...

agent-python
dependencies
github_actions

In my API when testing passing `traceparent` via request headers, the `traceparent` header was not being picked up and subsequently a new one was being generated. It appears to be...

agent-python
community
triage

Got some feedback about api key documentation reference here https://github.com/elastic/apm-agent-python/blob/693318c3bb28e53e85d96352136b280e522a592d/docs/reference/configuration.md?plain=1#L265 - I think we may want to remove the tech preview warning since for some platforms it's the only way...

agent-python

**Describe the bug**: ... psycopg2's Cursor can be invoked like this: `cursor.execute(sql, vars=...)` [0]. This works without instrumentation, but fails when wrapped. **To Reproduce** 1. Spin up apm and postgres...

agent-python
community
triage

**Describe the bug**: Hi, I'm trying to integrate my app with ElasticAPM and getting strange behaviour around langgraph functionality when ElasticAPM middleware is added (`TypeError: AsyncCursorProxy.execute() got an unexpected keyword...

agent-python
community
triage

**Describe the bug**: ``` [ERROR] AttributeError: 'dict' object has no attribute 'aws_request_id' Traceback (most recent call last): File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line...

agent-python
community
triage

**Describe the bug**: ... Celery task execution sticks to the main transaction of the django view. This is really misleading cause you may think that your view\endpoint works really slow,...

agent-python
community
triage

**Describe the bug**: `capture_span()` types `start` as `int` instead of `float` **To Reproduce** 1. apm_client.start_transaction() 2. t0 = time.time() 3. do_something() 4. t1 = time.time() 5. dur = t1-t0 6....

agent-python
community
triage

**Describe the bug**: After updating pymongo to the newest 4.12.0 version from 8. April, the Elastic APM cause an exception when calling the pymongo method collection.aggregate() This happens in a...

agent-python
community
triage