1 Star 0 Fork 0

F1shl3gs / ngx_http_traffic_module

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
WTFPL

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

traffic_status

syntax traffic_status interval=3000;

default: none

context: main

descript: enable ngx_http_traffic_module module

traffic_interface

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.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2016 F1shl3gs Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.

简介

traffic status 展开 收起
C
WTFPL
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/fishLeg/ngx_http_traffic_module.git
git@gitee.com:fishLeg/ngx_http_traffic_module.git
fishLeg
ngx_http_traffic_module
ngx_http_traffic_module
master

搜索帮助