Enable tracing in CRI http stream server#7692
Enable tracing in CRI http stream server#7692swagatbora90 wants to merge 1 commit intocontainerd:mainfrom
Conversation
|
Hi @swagatbora90. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
008bd3a to
0f2b72f
Compare
35b7ca4 to
6cabad3
Compare
|
@swagatbora90 |
Hi @liangyuanpeng, This PR instruments tracing specifically to the calls received by the CRI stream server from Kubelet or directly from API Server. This supports the exec, attach and port-forward operations. Also, to correlate the traces with the client request, the client will need to send the context containing the necessary tracing info as part of the http request headers. Otelhttp provides Transport to do just that. Yes, it is possible for containerd to send traceid information as part of the http request to image registries. Currently, it is only creating a span on the client side but if needed, we can look into sending the trace information in the request as well. link |
|
Needs rebase to resolve merge conflicts |
Signed-off-by: Swagat Bora <[email protected]>
6cabad3 to
5c69cbf
Compare
|
This PR is stale because it has been open 90 days with no activity. This PR will be closed in 7 days unless new comments are made or the stale label is removed. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
This PR is stale because it has been open 90 days with no activity. This PR will be closed in 7 days unless new comments are made or the stale label is removed. |
|
This PR was closed because it has been stalled for 7 days with no activity. |
Use otelhttp to trace CRI stream server http requests
* Added dependency "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
Signed-off-by: Swagat Bora [email protected]
CRI Stream Server