kumahq / kuma

🐻 The multi-zone service mesh for containers, Kubernetes and VMs. Built with Envoy. CNCF Sandbox Project.
https://kuma.io/install
Apache License 2.0
3.67k stars 333 forks source link

Ability to download a heap profile of Envoy #12080

Open slonka opened 2 days ago

slonka commented 2 days ago

Description

We have config dump, stats, clusters. Should we consider a heap profile https://www.envoyproxy.io/docs/envoy/latest/faq/debugging/how_to_dump_heap_profile_of_envoy ? I remember there was an issue like "we are running 200 services and our sidecar is 2GB - why?" that would help us to figure it out. This could be just a button to download. I think we could reuse most of the code that we already have.

Reminder, this would be a heap profile not a dump. It won't contain the whole snapshot of the memory.

If accepted please create a corresponding GUI ticket.