Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How tracing telemetry fit in runc to capture performance and behavior metrics (in DEBUG mode) #3307

Closed
Dentrax opened this issue Dec 5, 2021 · 1 comment

Comments

@Dentrax
Copy link

Dentrax commented Dec 5, 2021

While traversing around the issues, I noticed an issue #3181. And one of the notes that pointed in there is: figure out why the difference is so high.

So, I thought that how could we trace performance and behavior more easily for single command in DEBUG mode? There are some kinds of tracing methods:

I think tracing can be easily handled by higher level runtimes 1. Such as CreateContainer, KillContainer, etc. are high level metrics which we do not know what's happening in deeper levels.

Would it be a bit overengineering to trace syscalls, IO operaions, etc.? Do we already have a tracing strategy? Since we already have benchmark strategies, having a tracing method in entire runtime really worthy? Waiting your thoughts.

cc: @dashpole @kolyshkin

Footnotes

  1. https://github.com/containerd/containerd/issues/3057

@kolyshkin
Copy link
Contributor

Do we already have a tracing strategy?

I am mostly using strace, and have played with Go's pkg/trace (together with go tool trace).

I'm not sure we need distributed tracing in runc, and the projects you refer to are all about distributed tracing AFAICS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants