google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.63k stars 1.29k forks source link

Add stats per transport endpoint to improve debuggability. #763

Closed iyermi closed 4 years ago

iyermi commented 5 years ago

Currently, we have aggregated stats across netstack. Along with that, we need to make some of these stats granular into each endpoint object and also add new stats for errors encountered in the packet read/write path. For memory scalability, we can keep these as 32-bit stats unlike the current 64-bit aggregate stat.

hbhasker commented 4 years ago

Fixed in https://github.com/google/gvisor/commit/bf870c1a423063eb86a62c6268fe5d83fb6b87ba