-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CF API v2 Usage #3053
CF API v2 Usage #3053
Conversation
richard-cox
commented
Sep 24, 2018
- fixes Create basic analysis of v2 cf api feature usage #2937
Hey richard-cox! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd replace references to "console" with Stratos
Codecov Report
@@ Coverage Diff @@
## v2-master #3053 +/- ##
=============================================
- Coverage 71.02% 71.01% -0.02%
=============================================
Files 607 607
Lines 26250 26258 +8
Branches 5940 5940
=============================================
+ Hits 18645 18648 +3
- Misses 7605 7610 +5 |
docs/cf-api-v2-usage.md
Outdated
|
||
### Current v2 Issues | ||
|
||
- Most list fetch all entities up front to provide a reasonable level of sorting and filtering |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be "Most lists" - i.e. plural
docs/cf-api-v2-usage.md
Outdated
- Filtering sometimes contains org, space and name, but not all | ||
- Calculated numerical summary stats (number of applications in an organisation, cumulative total of memory from running apps in an | ||
organisation, number of users etc) requires fetching all entities of a certain type. This can be quite a costly set of requests. | ||
- Determining an informative application state requires an additional request to the `application/<guid>/stats` endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For each of these, I suggest we make a suggestion for what would help.
e.g. with this one-
It would massively improve Stratos performance if the APIs to list applications and retrieve a specific application could return the app stats for the application(s). If this is not possibly, an app stats call that can return stats for all running applications would help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM