sshniro commented on issue #1070: Adding UDP logger plugin
URL: https://github.com/apache/incubator-apisix/pull/1070#issuecomment-575447317
 
 
   @membphis  The following is the final log sent to the server.
   
   ```json
   {
     "upstream": "127.0.0.1:80",
     "start_time": 1579231324391,
     "client_ip": "127.0.0.1",
     "service_id": "10",
     "route_id": "5",
     "request": {
       "querystring": {
         "param1": "value"
       },
       "size": 118,
       "uri": "/?param1=value",
       "url": "http://127.0.0.1:9080/?param1=value";,
       "headers": {
         "host": "127.0.0.1:9080",
         "apikey": "superSecretAPIKey",
         "accept": "*/*",
         "user-agent": "curl/7.58.0"
       },
       "method": "GET"
     },
     "response": {
       "headers": {
         "accept-ranges": "bytes",
         "content-type": "text/html",
         "date": "Fri, 17 Jan 2020 03:22:04 GMT",
         "server": "APISIX web server",
         "connection": "close",
         "last-modified": "Thu, 29 Aug 2019 23:49:13 GMT",
         "etag": "\"5d686479-289\"",
         "content-length": "649"
       },
       "status": 200,
       "size": 892
     },
     "latency": 0.99992752075195
   }
   ````
   should I round the number for latency?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to