Hi,
I would like to make a feature request to include maintenance state of the
agent as a part of response of Operator HTTP API Get_Agents call.
Currently, the Get_Agents HTTP response looks like
> {
> "type": "GET_AGENTS",
> "get_agents": {
> "agents": [
> {
> "active": true,
> "agent_info": {
> "hostname": "host",
> "id": {
> "value": "3669ea49-c3c4-4b13-adee-05b8f9cb2562-S0"
> },
> "port": 34626,
> "resources": [
> ...
> ]
> },
> "pid": "slave(1)@127.0.1.1:34626",
> "registered_time": {
> "nanoseconds": 1470820171393027072
> },
> "total_resources": [
> ...
> ],
> "version": "1.1.0"
> }
> ]
> }
> }
Would it be possible to also include the maintenance state of the agent
(UP/DRAINING) as a part of the response?
Thank you,
Sachin