How to get more detailed spans/traces for django + django-ninja? #32967
Unanswered
viktorvsk-dualentry
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Please help me to get more detailed spans/traces (or better understand how to read a flamegraph) for this screenshot:
The last span is coming from
ninja.operation._sync_view
(https://github.com/vitalik/django-ninja/blob/master/ninja/operation.py#L463C9-L463C19)Ideally I would like to have visibility into my own methods that are called by django-ninja.
Does it mean that Django Ninja has to be supported by datadog to achieve this?
Or do I need to manually set spans in code to achieve this?
Or is this happening because of some sampling/limits and not every trace/span reaches datadog ?
Also, how do I read those gaps? Second to the last span takes 687ms while the last one takes 433ms. Does it mean that 154ms the process/thread was idling waiting for some other request to be processed?
Beta Was this translation helpful? Give feedback.
All reactions