Skip to content

feat(prosody): Trace rayo dial IQs in mod_trace. - #17734

Open
aaronkvanmeerten wants to merge 2 commits into
masterfrom
trace-rayo-dial
Open

feat(prosody): Trace rayo dial IQs in mod_trace.#17734
aaronkvanmeerten wants to merge 2 commits into
masterfrom
trace-rayo-dial

Conversation

@aaronkvanmeerten

Copy link
Copy Markdown
Member

Extends mod_trace.lua to record a rayo.dial hop span for rayo dial IQs passing through prosody, mirroring the existing colibri conference-modify handling: the span is created from the incoming trace context and the context is rewritten in-flight so the receiving service (jigasi) parents under the prosody span.

The trace context is accepted in two forms:

  • a <traceparent/> child element of <dial>, as used on colibri IQs, and
  • an X-Traceparent rayo header holding a W3C trace context value (00-<trace-id>-<parent-id>-<flags>), which is the form that survives RayoIqProvider parsing in jigasi (it only parses header children).

Companion to jitsi/jigasi#646, which adds tracing of dial-in/dial-out call setup to jigasi.

Records a rayo.dial hop span for dial IQs passing through prosody and
rewrites the trace context in-flight so the receiving service (jigasi)
parents under the prosody span, mirroring the existing colibri
conference-modify handling.

The trace context is accepted in two forms: a <traceparent/> child
element (as on colibri IQs), or an X-Traceparent rayo header holding a
W3C trace context value, which is the form that survives jigasi's
RayoIqProvider parsing.
jitsi-ci Bot pushed a commit to jitsi/jitsi-pr-tests-pages that referenced this pull request Aug 19, 2026
@bgrozev

bgrozev commented Aug 19, 2026

Copy link
Copy Markdown
Member

I'm adding tests, please don't merge yet

jitsi-ci Bot pushed a commit to jitsi/jitsi-pr-tests-pages that referenced this pull request Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants