pages-core
pages-core copied to clipboard
Add app instance memory usage to metrics.
To see our CF orgs total app memory usage and check against our org limit, we query the API across all of our orgs apps and their processes to get the process stats for the entire org.
Background
See http://v3-apidocs.cloudfoundry.org/version/3.115.0/index.html#the-process-stats-object for querying.
Acceptance Criteria
- [ ] Add to New Relic metrics and add in apps/metrics
- [ ] Query all orgs apps and their processes via the API for the the-process-stats-object
- [ ] Aggregate all of the queries to check against our org quota on memory