Profiling a pod in Kubernetes with kubectl flame | Loic's Blog
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
related reading
- Watch: How to get started with Grafana Phlare for continuous profilinggrafana.com
- [Java][Profiling] Async-profiler - manual by use cases | JVM/Java profiling and tuningkrzysztofslusarski.github.io
- GitHub - flamegraph-rs/flamegraph: Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 · GitHubgithub.com
- Kubernetes production readiness checklistlearnk8s.io
- k8s-1m Overviewbchess.github.io
- PyTorch Profiling 101 with Modded-NanoGPTblog.underfit.ai
- Announcing Grafana Phlare, the open source database for continuous profiling at massive scalegrafana.com
- Profiling Go programs with pprofjvns.ca
- All my favorite tracing tools: eBPF, QEMU, Perfetto, new ones I built and more - Tristan Humethume.ca
- Logfire Docs: Getting Started with Pydantic Logfirepydantic.dev
- What is continuous profiling? | CNCFcncf.io
- The feedback loops behind Kubernetes — PlanetScaleplanetscale.com