cs3org / wopiserver

A vendor-neutral application gateway compatible with the WOPI specifications.
Apache License 2.0
52 stars 27 forks source link

Add support for trace headers / Open Tracing #64

Closed glpatcern closed 10 months ago

glpatcern commented 2 years ago

A useful improvement for logging is to use Open Tracing, by parsing an additional HTTP header on the /wopi/iop/openinapp call and propagate it down the logs (cf. Reva).

Reference: https://github.com/opentracing/opentracing-python

glpatcern commented 11 months ago

Reviving this, X-Trace-Id is a "standard" header that can be used, as also Reva now uses it.

The opentracing repos are now archived, not sure how much integrating that remains useful. But the minimal goal is to include that header along in all relevant logs.