This is based on #298 and that one should be merged first.
This PR implements and documents optional OpenTelemetry based tracing for the
Nomos backend, which should make debugging a lot easier by providing
contextually relevant logs (especially SQL logs).
This is a very basic integration and more spans could be added to trace more
parts of the system as needed. We could also integrate logs into OTel in the
future so that logs appear in context of the request and span they occurred in.
Currently this is marked as a draft pending #298.
Let me know if there's anything I can do to make this easier to review.
This is based on #298 and that one should be merged first.
This PR implements and documents optional OpenTelemetry based tracing for the Nomos backend, which should make debugging a lot easier by providing contextually relevant logs (especially SQL logs).
This is a very basic integration and more spans could be added to trace more parts of the system as needed. We could also integrate logs into OTel in the future so that logs appear in context of the request and span they occurred in.
Currently this is marked as a draft pending #298.
Let me know if there's anything I can do to make this easier to review.