apm-agent-python
apm-agent-python copied to clipboard
Official Python agent for Elastic APM
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...
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...
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...
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...
**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...
**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...
**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...
**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,...
**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....
**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...