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 2021/06/04 02:58:38 UTC

[GitHub] [apisix] GoneGo1ng commented on issue #4375: request help: ‘v1/healthcheck’ returns an empty json

GoneGo1ng commented on issue #4375:
URL: https://github.com/apache/apisix/issues/4375#issuecomment-854321450


   > etcdctl get --prefix /apisix/upstreams
   
   ```
   /apisix/upstreams/
   init_dir
   /apisix/upstreams/357655931518976703
   {
       "name": "httpbin-upstream",
       "scheme": "http",
       "type": "roundrobin",
       "pass_host": "pass",
       "hash_on": "vars",
       "id": "357655931518976703",
       "nodes": [
           {
               "weight": 1,
               "port": 7777,
               "host": "172.16.65.34",
               "priority": 0
           },
           {
               "weight": 1,
               "port": 7778,
               "host": "172.16.65.34",
               "priority": 0
           }
       ],
       "update_time": 1622719457,
       "timeout": {
           "connect": 6,
           "send": 6,
           "read": 6
       },
       "checks": {
           "active": {
               "concurrency": 10,
               "http_path": "\/ping",
               "https_verify_certificate": true,
               "timeout": 5,
               "healthy": {
                   "successes": 1,
                   "http_statuses": [
                       200,
                       201
                   ],
                   "interval": 5
               },
               "type": "http",
               "unhealthy": {
                   "http_statuses": [
                       400,
                       404,
                       500
                   ],
                   "http_failures": 2,
                   "tcp_failures": 2,
                   "timeouts": 3,
                   "interval": 5
               }
           }
       },
       "create_time": 1622709147
   }
   ```


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