envoyproxy/envoy
View on GitHubOverload Manager should monitor epoll loop duration and polling delay as resources
Open
#12,190 opened on Jul 20, 2020
area/overload_managerenhancementhelp wanted
Repository metrics
- Stars
- (27,997 stars)
- PR merge metrics
- (Avg merge 8d) (378 merged PRs in 30d)
Description
The Overload Manager has a configurable set of resource monitors that can be used to trigger actions when Envoy is overloaded. Monitoring the epoll loop duration and polling delay would allow proxies to take action when they are over-taxed in terms of CPU, possibly with a large number of pending events to handle. This could be done by polling the epoll stat metric, but I'm not sure that's the most efficient option.