nym icon indicating copy to clipboard operation
nym copied to clipboard

Feature/otel

Open IRClichtR opened this issue 2 months ago • 1 comments

Add feature otel for distributed tracing

Objective

Adding opentelemetry to current tracing with ingestion of trace, enabling distributed tracing and diagnose issues. This feature is not meant for production but for debug mode. The feature is and will remain optional.

Summary of changes

  • Creation of a common/opentelemetry sub-crate with tools for distributed tracing across websocket, http headers and sphinx
  • Modification of gateway crate to accept incoming traces from clients (examples in sdk)
  • Modification of common libraries to follow trace_id into connection mechanisms

Limitations

  • very partial instrumentation of sphinx should be improved in the future to avoid breaking trace caused by async and multi-threaded context
  • following of trace is concentrated on the messages exchanged during the connection to the gateway

This change is Reviewable

IRClichtR avatar Oct 21 '25 13:10 IRClichtR

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
nym-explorer-v2 Ready Ready Preview Comment Oct 27, 2025 6:18pm
nym-node-status Ready Ready Preview Comment Oct 27, 2025 6:18pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
docs-nextra Ignored Ignored Preview Oct 27, 2025 6:18pm

vercel[bot] avatar Oct 22 '25 07:10 vercel[bot]