Proposal
There are many component systems here, such as content, snapshotter, container and tasks. And the containerd package provides smart client with powerful functionality, something like Backend for frontend. For instance, the Client.Pull is simple function call, but it already combines several calls to different components in there.
If we can add the tracing in containerd smart client side client and daemon, it will be easy to figure out the whole request call chain. When we run into some issues, the tracing data can help us to locate the problem quickly.
Document
In order to make it easy to discuss, I make a google doc for this proposal.
https://docs.google.com/document/d/12l0dEa9W8OSZdUYUNZJZ7LengDlJvO5J2ZLategEdl4/edit?usp=sharing
And welcome to comment for this.
Proposal
There are many component systems here, such as
content,snapshotter,containerandtasks. And the containerd package providessmartclient with powerful functionality, something likeBackend for frontend. For instance, theClient.Pullis simple function call, but it already combines several calls to different components in there.If we can add the tracing in
client and daemon, it will be easy to figure out the whole request call chain. When we run into some issues, the tracing data can help us to locate the problem quickly.containerd smart client sideDocument
In order to make it easy to discuss, I make a google doc for this proposal.
https://docs.google.com/document/d/12l0dEa9W8OSZdUYUNZJZ7LengDlJvO5J2ZLategEdl4/edit?usp=sharing
And welcome to comment for this.