Benjamin Wohlwend

Results 26 issues of Benjamin Wohlwend

We should make it easy to instrument Django management commands. It is not a lot of work now, but it could be made even easier by providing a base class...

agent-python
instrumentation

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`...

agent-python

We should document the automatic integration of Celery when using Django or Flask, as well as document how to manually instrument Celery when it is used in standalone mode.

docs
agent-python

To ensure some user errors don't lead to overblown payload sizes, we want to truncate all strings in the payload to a max length, similar to what we already to...

agent-python

**Is your feature request related to a problem? Please describe.** Currently, the agent creates a bunch of threads on initialization, to do background work: * a transport thread for sending...

feature
agent-python

In `multilingual.translation.fill_translation_cache`, there's a check if the attribute `_trans_code_XX` exists (XX being the language code). But this attribute is actually called `_trans_language_code_XX`, so the test is always false and the...

In `MultilingualModelQuerySet.values_list`, `values` of the super class is called, not `values_list` which results in an error after syncdb (and probably elsewhere). ``` diff --git a/multilingual/query.py b/multilingual/query.py index b6022ec..d934d83 100644 ---...

While I love dj.choices, I have one issue that makes me wary of using it: the implicit integer ID, defined by the sequence of choices. The main problem I see...