You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/23 08:50:14 UTC

[GitHub] [apisix] tokers commented on issue #2821: Implement status API

tokers commented on issue #2821:
URL: https://github.com/apache/apisix/issues/2821#issuecomment-732018212


   Information should be exposed:
   
   ```json
   {
       "id": "ddea4053-4ffd-4f09-b176-b8c5e919916b",
       "hostname": "localhost.local",
       "version": "2.0",
       "etcd_version": "3.5.0",
       "uptime": 3600,
       "node_listen": [9080, 9443, 9180]
   }
   ```
   
   @juzhiyuan @membphis @moonming @starsz What do you think? May be the node_listen could be more semantic like:
   
   ```json
   node_listen: [
       {
            "port": 9080,
            "name": "http"
       },
       {
            "port": 9081,
            "name": "http"
       },
       {
            "port": 9180,
            "name": "admin"
       },
       {
            "port": 9443,
            "name": "https"
       },
       {
            "port": 9100,
            "name": "tcp"
       },
       {
            "port": 9101,
            "name": "udp"
       }
   ]
   ```


----------------------------------------------------------------
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