Traced should be collected for all requests to Disk Manager should be traced. Given request_id, we need opportunity to see what was this request doing (which tasks scheduled, which queries to nbs/nfs/ydb/s3 made, when exactly it happened and how much time did different steps take).
We are going to use Open Telemetry framework https://opentelemetry.io/. Namely, we should add instrumentation to Disk Manager code for creating spans and events. Also Disk Manager must be able to use trace context passed by caller (like trace id and parent span id) if it is present. Also Disk Manager must be able to export traces to a backend (in order to store and visualize traces).
Traced should be collected for all requests to Disk Manager should be traced. Given request_id, we need opportunity to see what was this request doing (which tasks scheduled, which queries to nbs/nfs/ydb/s3 made, when exactly it happened and how much time did different steps take).
We are going to use Open Telemetry framework https://opentelemetry.io/. Namely, we should add instrumentation to Disk Manager code for creating spans and events. Also Disk Manager must be able to use trace context passed by caller (like trace id and parent span id) if it is present. Also Disk Manager must be able to export traces to a backend (in order to store and visualize traces).