tokers edited a comment 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],
       "last_report_timestamp": 1606121591
   }
   ```
   
   @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:
[email protected]


Reply via email to