app.stats¶
Retrieve statistics of apps.
This event is generated by a dynamic source. If you want to specify subscription params, subscribe to it using the name in the following format app.stats:{“param”: “value”}
Type: object
No Additional Properties
No Additional Properties
No Additional Items
No Additional Properties
No Additional Properties
AppStatsEventSourceArgs
Type: objectNo Additional Properties
Interval
Type: integer Default: 2Interval in seconds between statistics updates.
Value must be greater or equal to 2
AppStatsEventSourceEvent
Type: objectNo Additional Properties
Fields
Type: array of objectNo Additional Items
Each item of this array must be:
AppStatsEventSourceEventItem
Type: objectNo Additional Properties
App Name
Type: stringName of the application these statistics are for.
Cpu Usage
Type: integerPercentage of cpu used by an app.
Memory
Type: integerCurrent memory (in bytes) used by an app.
Networks
Type: array of objectArray of network interface statistics for the application.
No Additional ItemsEach item of this array must be:
AppStatsEventSourceEventItemNetwork
Type: objectNo Additional Properties
Interface Name
Type: stringName of the interface used by the app.
Rx Bytes
Type: integerReceived bytes/s by an interface.
Tx Bytes
Type: integerTransmitted bytes/s by an interface.
AppStatsEventSourceEventItemBlkio
Type: objectBlock I/O statistics for the application.
No Additional PropertiesRead
Type: integerBlkio read bytes.
Write
Type: integerBlkio write bytes.
Required roles: APPS_READ