apm-agent-python
apm-agent-python copied to clipboard
Official Python agent for Elastic APM
I've been adding [tests](https://github.com/elastic/apm-agent-python/blob/master/tests/instrumentation/azure_tests.py) for Azure as I've been developing the instrumentations. However, these tests will require some work to get running on Jenkins. - [ ] Create dedicated storage...
At the moment, our serialization code is just a really long `if-elif-elif-...` block: https://github.com/elastic/apm-agent-python/blob/ee45d21ff43be495089a005863b7f6af0707fe34/elasticapm/utils/encoding.py#L85-L138. This has several drawbacks: * it's not extendable (we e.g. might want to serialize Django `QuerySet`...
**Describe the bug**: ... The command `./manage.py elasticapm test` gives me an error: Click to expand the error [2021-09-07 10:59:24,554 public urllib3.poolmanager] INFO: Redirecting http://192.168.100.100:8200// -> http://192.168.100.100:8200/ [2021-09-07 10:59:24,556 public...
**Is your feature request related to a problem? Please describe.** Instrumenting an existing application can be cumbersome: All places with exception handling need to be extend in order to also...
We noticed that there are a few BDD files under https://github.com/elastic/apm-agent-python/tree/master/tests/bdd/features - api_key - azure_app_service_metadata - outcome But only the API Key ones are implemented. >[2021-08-02T10:01:23.365Z] tests/bdd/__init__.py 0 0 0...
**Is your feature request related to a problem? Please describe.** We work on microservice-based architecture where one service might be calling 3-4 other services. All these calls are getting logged...
Hello! I have tried to use master branch to connect the dots in async background tasks (using the `elasticapm.get_client`) Here is my "stack" ``` +-------------------+ | Backend Service | |...
We should create some public API interfaces for dealing with metrics. Currently, to create a histogram metric, a user has to fetch the Client object and then do something like...
**Describe the bug**: When using `set_custom_context` API, as per [documentation](https://www.elastic.co/guide/en/apm/agent/python/master/api.html#api-set-custom-context), the expectation is to be able to attach custom data to a `Transaction` or to an `Error`. From the [code](https://github.com/elastic/apm-agent-python/blob/4d125e6f554a85b84085ddcf1fb783bc7228922c/elasticapm/traces.py#L848),...