可滚动的服务器端udp代理
rollbar-udp-agent的Python项目详细描述
rollbar udp代理
==
一个监听udp端口并将消息推送到rollbar的守护进程。
_帐户
安装
----
**安装**
https://raw.githubusercontent.com/lrascao/rollbar-udp-agent/master/setup.sh)“
**在virtualenv中使用pip安装**
在ubuntu linux上更新rc.d。
在ubuntu上,您需要添加到rc.d。在fedora上运行以下命令:
update rc.d rollbar udp agent defaults
,在chkconfig上添加:
sudo chkconfig--add rollbar udp agent
sudo chkconfig rollbar udp agent on
它相当于chkconfig。
现在,启动服务:
sudo service rollbar udp agent start
检查它是否正在运行,tail-its日志文件::
configuration
----
rollbar-udp-agent本身的配置选项位于`/etc/rollbar-udp-agent.conf`.
**rollbar-udp-agent.conf**
您需要更改以下变量:
-``api_key``--您的rollbar访问令牌,特别是一个api令牌,允许“post_server_item”
https://api.rollbar.com/api/1/item/)
-``事件块大小``发送到rollbar之前块的事件数(默认50)
-``事件块字节``发送到rollbar之前块的字节数(默认1048576,1MB)
-``刷新间隔``--将消息刷新到滚动条周期(默认为30秒)
-``批量报告``--是否在一个或多个HTTP请求中发送消息(默认为false)
contribution
----
contribution是受欢迎的。该项目托管在github上,网址为http://github.com/lrascao/rollbar-udp-agent
==
一个监听udp端口并将消息推送到rollbar的守护进程。
_帐户
安装
----
**安装**
https://raw.githubusercontent.com/lrascao/rollbar-udp-agent/master/setup.sh)“
**在virtualenv中使用pip安装**
在ubuntu linux上更新rc.d。
在ubuntu上,您需要添加到rc.d。在fedora上运行以下命令:
update rc.d rollbar udp agent defaults
,在chkconfig上添加:
sudo chkconfig--add rollbar udp agent
sudo chkconfig rollbar udp agent on
它相当于chkconfig。
现在,启动服务:
sudo service rollbar udp agent start
检查它是否正在运行,tail-its日志文件::
configuration
----
rollbar-udp-agent本身的配置选项位于`/etc/rollbar-udp-agent.conf`.
**rollbar-udp-agent.conf**
您需要更改以下变量:
-``api_key``--您的rollbar访问令牌,特别是一个api令牌,允许“post_server_item”
https://api.rollbar.com/api/1/item/)
-``事件块大小``发送到rollbar之前块的事件数(默认50)
-``事件块字节``发送到rollbar之前块的字节数(默认1048576,1MB)
-``刷新间隔``--将消息刷新到滚动条周期(默认为30秒)
-``批量报告``--是否在一个或多个HTTP请求中发送消息(默认为false)
contribution
----
contribution是受欢迎的。该项目托管在github上,网址为http://github.com/lrascao/rollbar-udp-agent