我想知道请求已用时间,但我不明白在treafik accesslog.it中显示的持续时间中的大数字不会显示我浏览器中显示的时间。 traefik能告诉我请求的时间吗?
试验:
ubuntu@wb-kube-m1:~$ time curl -vo /dev/null
http://bxr.eduwxt.com/dmc/index.26938449.css
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Trying 192.144.174.48...
* Connected to bxr.eduwxt.com (192.144.174.48) port 80 (#0)
> GET /dmc/index.26938449.css HTTP/1.1
> Host: bxr.eduwxt.com
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Content-Length: 418399
< Content-Type: text/css
< Date: Thu, 14 Jun 2018 01:37:43 GMT
< Etag: "5b20fd0e-6625f"
< Last-Modified: Wed, 13 Jun 2018 11:16:30 GMT
< Server: nginx/1.15.0
<
{ [12492 bytes data]
100 408k 100 408k 0 0 8798k 0 --:--:-- --:--:-- --:--:-- 8693k
* Connection #0 to host bxr.eduwxt.com left intact
real 0m0.055s
user 0m0.004s
sys 0m0.004s
ACCESSLOG: &#34; 4th 2018,09:37:44.004 bxr.eduwxt.com&#34; &#34; GET /dmc/index.26938449.css HTTP / 1.1&#34; &#34; 200&#34; &#34; 24534228&#34; &#34; 220354&#34;
持续时间:24534228