Nginx日志常见时间变量解析
2019-11-28 07:50:26来源:博客园 阅读 ()
Nginx日志常见时间变量解析
$request_time
官方解释:request processing time in seconds with a milliseconds resolution; time elapsed between the first bytes were read from the client and the log write after the last bytes were sent to the client.
客户端发出第一个字节开始到接收到最后一个字节的时间。
$upstream_response_time
官方解释:keeps time spent on receiving the response from the upstream server; the time is kept in seconds with millisecond resolution. Times of several responses are separated by commas and colons like addresses in the $upstream_addr variable.
Nginx与后端建立连接到传输完数据连接断开为止的时间。
$upstream_connect_time
官方解释:keeps time spent on establishing a connection with the upstream server (1.9.1); the time is kept in seconds with millisecond resolution. In case of SSL, includes time spent on handshake. Times of several connections are separated by commas and colons like addresses in the $upstream_addr variable.
Nginx与上游服务器建立连接所消耗的时间,其中包含连接握手的时间,单位为秒。
$upstream_header_time
官方解释:keeps time spent on receiving the response header from the upstream server (1.7.10); the time is kept in seconds with millisecond resolution. Times of several responses are separated by commas and colons like addresses in the $upstream_addr variable.
从上游服务器接收响应头的时间,单位为秒。
原文链接:https://www.cnblogs.com/enochzzg/p/11949373.html
如有疑问请与原作者联系
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- linux 日志中查找关键字 2020-06-03
- 附020.Nginx-ingress部署及使用 2020-06-02
- Nginx + Docker 多阶段构建的部署学习 2020-05-25
- 万字长文!一次性弄懂 Nginx 处理 HTTP 请求的 11 个阶段 2020-05-21
- Cygwin统计日志常用代码,欢迎各位大神补全 2020-05-16
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash