This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Adding opentracing headers for appservice requests #16226
Labels
A-Application-Service
Related to AS support
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
Description:
Currently, synapse only sends the tracing span headers over federation (using the whitelist) and over replication. However, for appservice devs, it might also be nice to have the trace spans from synapse to follow the flow from the start instead of needing to manually find the right span.
For reference, I think it's probably just adding
opentracing.inject_header_dict(headers, check_destination=False)
somewhere in this area:synapse/synapse/http/client.py
Line 562 in 93f2fdd
synapse/synapse/appservice/api.py
Lines 363 to 368 in 93f2fdd
However, I didn't work on the synapse codebase so far. So the pointers may not be accurate.
The text was updated successfully, but these errors were encountered: