Christophe N.

Results 52 comments of Christophe N.

Sorry I didn't know or looked for existing du alternatives, either as commands or interactive commands… Feel free to delete this issue and/or say in the doc that duf don't...

it does not render anything, it adds a span in the performance view ```html {% load sentry %} {# menus, context, many blocks which are not meant to be main...

Here what it looks in a normal view. ![image](https://user-images.githubusercontent.com/84683/103007647-105bce00-4534-11eb-9b97-be52bafde931.png)

it may not be obvious to do as it requires to be in a given folder of a django app to be a loadable template tag.

My sample have 3 tools, a decorator, span templatetag, and mokey patching the 2 most used request rendering functions. (monkeypatching the rendering engine was not so simple as it's recursive...

I didn't looked at your contribution guides yet and I don't know which of these tools make sense for you. I didn't test these tools as I run integration tests...

The main rendering span is added by monkey patch but not the template tag. It is added the normal way for now. I could add this monkeypatch which by itself...

Can you suggest a name for the decorator or you think I should not use it? I understantd that timeit is not great. `@sentry_span(op="function", description="module.function_name")`

thx for your time, I'll take a look.

the end tag is usually end + tagname so endstart_span ? maybe sentryspan to avoid sementic conflict with html span