Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sum of nginx process connections
nginx_ingress_controller_nginx_process_connections returns four elements for each pod, one for each "state" (active, reading, waiting, writing). The value of the element with state "active" is the sum of the other three elements of other states: active = reading + waiting + writing So sum() returns a value that is 2x of the actual amount of connections. To fix this we simply select elements with state "active".
- Loading branch information