You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/02/16 19:53:29 UTC
[GitHub] [trafficserver] jrushford edited a comment on pull request #7478: JSONRPC based interface for administrative API.
jrushford edited a comment on pull request #7478:
URL: https://github.com/apache/trafficserver/pull/7478#issuecomment-780077836
The legacy traffic_ctl when used with the 'host' subcommand created and updated 'host_status' stats when a host is marked up or down. I wanted to get away from using stats however one could always uses 'traffic_ctl metric match host_status' to get a list of hosts marked up or down with traffic_ctl. The new JSONRPC traffic_ctl metric match doesn't return a list of host_status stats. I'm not sure that anyone was using this so maybe it's not an issue and I'm fine with getting away from using stats.
legacy traffic_ctl:
`# traffic_ctl host down --reason manual cdn-edge-01.mycdn.com
# traffic_ctl metric match host_status
proxy.process.host_status.cdn-edge-01.mycdn.com HOST_STATUS_DOWN,ACTIVE:UP:0:0,LOCAL:UP:0:0,MANUAL:DOWN:1613504502:0,SELF_DETECT:UP:0`
----------------------------------------------------------------
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:
users@infra.apache.org