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

## What does this pull request do? - instrument psycopg.Connection.connect so that psycopg_pool.ConnectionPool-managed connections are proxied and DB spans are emitted again ## Related issues Closes #2094

agent-python
community
triage

``` ____________ test_flushed_arg_with_wait[sending_elasticapm_client0] ____________ sending_elasticapm_client = @pytest.mark.skipif(platform.system() == "Windows", reason="Flaky test on windows") @pytest.mark.flaky(reruns=3) # Trying to test automatic flushes is inherently flaky @pytest.mark.parametrize("sending_elasticapm_client", [{"api_request_time": "100ms"}], indirect=True) def test_flushed_arg_with_wait(sending_elasticapm_client): sending_elasticapm_client.begin_transaction("test_type")...

agent-python

## **Description of the bug** The Elastic APM agent reports incorrect timing for operations involving aiobotocore. Because aiobotocore performs asynchronous I/O using boto3, the measured span duration reflects only a...

agent-python
community
triage

Threads and sleeps involved what can go wrong :) ``` _____________ test_kafka_consumer_ignore_topic_ongoing_transaction _____________ instrument = None elasticapm_client = producer = consumer = topics = ['test', 'foo', 'bar'] def test_kafka_consumer_ignore_topic_ongoing_transaction(instrument, elasticapm_client,...

agent-python

Stop using pkg_resources, move to importlib instead. This requires at least python 3.7 as baseline.

agent-python