{"repo":"GoogleCloudPlatform/app-toolbox","free":true,"listed":false,"github":"https://github.com/GoogleCloudPlatform/app-toolbox","clone":"git clone https://github.com/GoogleCloudPlatform/app-toolbox.git","description":"Production-safe profiling and eBPF diagnostic toolbox for live containers on GKE and Container-Optimized OS (COS) hosts without restarting target pods.","language":"Shell","stars":10,"topics":["bpftrace","devops","diagnostics","ebpf","gcp","gke","jfr","kubernetes","observability","profiling"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"App Toolbox with Application Performance Collector This is a customized version of the COS Toolbox image, modified to include a suite of production-grade profiling tools for multiple languages and system-level diagnostics. Features Java : Zero-copy JDK Flight Recorder (JFR) profiling via jattach (Production-safe, works on read-only containers, no files written/copied to container filesystem). Python : py-spy (Optimized with --nonblocking and --idle for production safety). Golang : eBPF-based on-CPU profiling via bpftrace (sampling user stacks at 99Hz). Node.js : Fallback to eBPF-based off-CPU profiling. eBPF Diagnostics : CO-RE (Compile Once - Run Everywhere) versions of biolatency , tcpretrans , and offcputime via bpftrace (No kernel headers needed!). Auto-Packaging : Results are saved in a unique directory, compressed into a .tar.xz file, and checksummed with SHA-256. --- How to Run & Use (GKE / COS Nodes) To run eBPF diagnostics successfully inside this container on a Container-Optimized OS (COS) node, you must configure the custom image coordinates and unlock kernel system call filters. 1. SSH into your GKE node. 2. Configure /.toolboxrc on the COS host: Add the following lines to your ${HOME}/.toolboxrc file: Note: The TOOLBOX BIND adds /sys and /proc mounts, and TOOLBOX ENV unlocks the necessary system calls for eBPF. 3. Launch the toolbox: 4. Run the interactive collector script: 5. Follow the interactive prompts to select the target Pod, Container, Language, and Durat","default_branch":null,"files":null,"tree":[],"storefront":"/r/GoogleCloudPlatform","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GoogleCloudPlatform/app-toolbox/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}