Supporting container metrics for multi-process apps
Hello CF folks,
Historically, Cloud Foundry apps consisted of a single process. Container metrics (memory, disk, and cpu usage) for these apps were emitted with a source_id corresponding to the app’s guid. When multi-process support was introduced, there was a need to distinguish container metrics on a per-process basis, so the source_id was set to the guid of each process. To give container metrics consumers the ability to continue to aggregate these metrics by app, changes were required and additional metadata is now included on the metrics envelopes. If you are a consumer of these metrics envelopes, these changes will be relevant to you.
Please refer to this document for details.
The CAPI team