Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

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()

ISystemResource* 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 by systemd services.

Returns

ISystemResource* An object of ISystemResource.

makeAppResourceQuota()

IAppResourceQuotas* 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.

Returns

IAppResourceQuotas* An object of IAppResourceQuotas.
Last modified on October 29, 2026