Skip to content

Commit

Permalink
Document null and empty values for Process Stats
Browse files Browse the repository at this point in the history
In #2227 we
updated the Process Stats endpoint to be able to return partial
responses (with a warning) when the stats server is unavailable.

Authored-by: Tim Downey <[email protected]>
  • Loading branch information
tcdowney committed Apr 29, 2021
1 parent 2abeb94 commit ed75cf6
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ Name | Type | Description
**type** | _string_ | Process type; a unique identifier for processes belonging to an app
**index** | _integer_ | The zero-based index of running instances
**state** | _string_ | The state of the instance; valid values are `RUNNING`, `CRASHED`, `STARTING`, `DOWN`
**usage** | _object_ | Object containing actual usage data for the instance; the value is `{}` when usage data is unavailable
**usage.time** | _[timestamp](#timestamps)_ | The time when the usage was requested
**usage.cpu** | _number_ | The current cpu usage of the instance
**usage.mem** | _integer_ | The current memory usage of the instance
**usage.disk** | _integer_ | The current disk usage of the instance
**host** | _string_ | The host the instance is running on
**instance_ports** | _object_ | JSON array of port mappings between the network-exposed port used to communicate with the app (`external`) and port opened to the running process that it can listen on (`internal`)
**uptime** | _integer_ | The uptime in seconds for the instance
**mem_quota** | _integer_ | The current maximum memory allocated for the instance
**disk_quota** | _integer_ | The current maximum disk allocated for the instance
**mem_quota** | _integer_ | The current maximum memory allocated for the instance; the value is `null` when memory quota data is unavailable
**disk_quota** | _integer_ | The current maximum disk allocated for the instance; the value is `null` when disk quota data is unavailable
**fds_quota** | _integer_ | The maximum file descriptors the instance is allowed to use
**isolation_segment** | _string_ | The current isolation segment that the instance is running on; the value is `null` when the instance is not placed on a particular isolation segment
**details** | _string_ | Information about errors placing the instance; the value is `null` if there are no placement errors

0 comments on commit ed75cf6

Please sign in to comment.