You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no bulk api to fetch process stats of multiple processes at once.
Context
cf a in a space that contains ~800 apps takes ~5min. One reason is that for every app process a single CF API request (GET /v3/processes/<process-guid>/stats) is executed to fetch the process stats.
There are additional reasons for the long execution time like cloudfoundry/cli#2733.
Possible Fix
Implement a list endpoint to fetch process stats for multiple processes, e.g.
GET /v3/processes/stats with query params similar to GET /v3/processes, or
add an include=stats parameter to GET /v3/processes
For good performance, it would be desirable that the cloud controller can fetch the process stats from log-cache using a bulk api as well.
The text was updated successfully, but these errors were encountered:
Issue
There is no bulk api to fetch process stats of multiple processes at once.
Context
cf a
in a space that contains ~800 apps takes ~5min. One reason is that for every app process a single CF API request (GET /v3/processes/<process-guid>/stats
) is executed to fetch the process stats.There are additional reasons for the long execution time like cloudfoundry/cli#2733.
Possible Fix
Implement a list endpoint to fetch process stats for multiple processes, e.g.
GET /v3/processes/stats
with query params similar toGET /v3/processes
, orinclude=stats
parameter toGET /v3/processes
For good performance, it would be desirable that the cloud controller can fetch the process stats from log-cache using a bulk api as well.
The text was updated successfully, but these errors were encountered: