Interface IKeplerResourceStatsModule
interface IKeplerResourceStatsModule
Extends com.amazon.apmf.IStandard
The module creates object of ISystemResource and IAppResourceQuotas which in turn provides
API to get the system’s stats and app’s stats.
This is the entry point for resource_stats module.
Methods
makeSystemResource()
Make an ISystemResource object. The returned interface in turn provides APIs to get the system memory and cpu stats. Note: This interface can only be used byISystemResource*makeSystemResource()
systemd services.
Returns
ISystemResource*
An object of ISystemResource.
makeAppResourceQuota()
Make a IAppResourceQuotas object. The returned interface in turn provides APIs to get resource quotas for the calling app. The quota is for memory, cpu, and cache storage.IAppResourceQuotas*makeAppResourceQuota()
Returns
IAppResourceQuotas*
An object of IAppResourceQuotas.

