dclim commented on a change in pull request #7839: Supervisor list api with 
states and health
URL: https://github.com/apache/incubator-druid/pull/7839#discussion_r291739637
 
 

 ##########
 File path: docs/content/operations/api-reference.md
 ##########
 @@ -510,8 +510,22 @@ Returns a list of objects of the currently active 
supervisors.
 |Field|Type|Description|
 |---|---|---|
 |`id`|String|supervisor unique identifier|
+|`state`|String|basic state of the supervisor. Available 
states:`UNHEALTHY_SUPERVISOR`, `UNHEALTHY_TASKS`, `PENDING`, `RUNNING`, 
`SUSPENDED`, `STOPPING`|
+|`detailedState`|String|supervisor specific state. (See documentation of 
specific supervisor for details)|
+|`healthy`|Boolean|true or false indicator of overal supervisor health|
 |`spec`|SupervisorSpec|json specification of supervisor (See Supervisor 
Configuration for details)|
 
+* `/druid/indexer/v1/supervisor?state=true`
+
+Returns a list of objects of the currently active supervisors and their 
current state.
+
+|Field|Type|Description|
+|---|---|---|
+|`id`|String|supervisor unique identifier|
+|`state`|String|basic state of the supervisor. Available 
states:`UNHEALTHY_SUPERVISOR`, `UNHEALTHY_TASKS`, `PENDING`, `RUNNING`, 
`SUSPENDED`, `STOPPING`|
+|`detailedState`|String|supervisor specific state. (See documentation of 
specific supervisor for details)|
+|`healthy`|Boolean|true or false indicator of overal supervisor health|
 
 Review comment:
   typo: 'overal' -> 'overall'

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to