flâneur — a map of the web's best reading

Profiling a pod in Kubernetes with kubectl flame | Loic's Blog

loicmathieu.fr · 685 words · saved by 1 readers

Kubectl flame is a plugin for kubectl that allows you to profile applications in production with low overhead by generating FlameGraphs. It is a Yahoo project. It is installed via krew, the plugin manager for kubectl, and allows you to generate FlameGraphs for applications in Go, Java (all JVM languages), Python, Ruby, and NodeJS. After installing krew, you can install flame via: kubectl krew install flame. For each supported language, it will use a different profiler to generate a FlameGraph. These profilers are of sampling type, and based on this sampling information (how many times a method has been called), it will generate a FlameGraph. A FlameGraph is a way to visualize the profile of an application allowing to instantly (or very quickly) detect the most frequent code path. It will display, on the x-axis, the population (usually the method) whose size is proportional to the number of samples in the profile, and on the y-axis, the depth in the call stack. More information on Brend

Kubectl flame is a plugin for kubectl that allows you to profile applications in production with low overhead by generating FlameGraphs. It is a Yahoo project. It is installed via krew , the plugin manager for kubectl, and allows you to generate FlameGraphs for applications in Go, Java (all JVM languages), Python, Ruby, and NodeJS. After installing krew, you can install flame via: kubectl krew install flame . For each supported language, it will use a different profiler to generate a FlameGraph. These profilers are of sampling type, and based on this sampling information (how many times a meth

Explore this link on the map →

related reading