Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get() *api_schema.AgentResourceUsage
Returns a 1-hour sliding window reflecting this Postman Live Collections Agent's CPU and memory usage, updated every pollingInterval minutes, or nil if resource usage is unavailable.
The polling interval is set by the first call to Poll(). If the interval doesn't evenly divide a 1-hour sliding window, the sliding window becomes the largest multiple of the polling interval less than 1 hour, or simply the polling interval if longer than 1 hour.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.