##ngx_http_traffic_module
this module is used to record Nginx traffic, this module can not work with Nginx, but it is easy to patch, the official Nginx structure "ngx_connection_t" have no member named "received", only "sent". tengine got it and you can get every connecions's sent and received.
###Dritives
syntax traffic_status interval=3000;
default: none
context: main
descript: enable ngx_http_traffic_module module
syntax: traffic_interface;
default: none
context: location
description: add an API to get Nginx's traffic status
###Healthcheck ngx_http_traffic_module can work with ngx_http_upstream_check_module
###Dynamic Upstream ngx_http_traffic_module can work with ngx_http_upsync_module(not the weibo's), this ngx_http_upsync_module is weibo's ngx_http_upsync_module modified, same name.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。