https://github.com/orachide/rabbitmq-metrics-to-graphite

rabbitmq-metrics-to-graphite的Python项目详细描述


RabbitMQ石墨指标

从rabbitmq读取数据并向graphite发送度量值

如何安装

使用pip

pip install rabbitmq-metrics-to-graphite

来自git rpo

git clone https://github.com/orachide/rabbitmq-metrics-to-graphite.git
cd rabbitmq-metrics-to-graphite
python setup.py build
python setup.py install

配置

配置文件示例:

{"graphite_servers":[{"host":"localhost","port":2003,"prefix":"mycustomprefix.rabbitmq"}],"rabbitmq_clusters":[{"cluster_name":"DC1","host":"localhost","port":15672,"username":"guest","password":"guest","vhost":"/"},{"cluster_name":"DC2","host":"localhost","port":15672,"username":"guest","password":"guest","vhost":"/"}]}

执行程序

rabbitmq-metrics-to-graphite /path/to/configfile

# Verbose
rabbitmq-metrics-to-graphite /path/to/configfile -v

Grafana仪表板

使用grafana-rabbitmq-metrics.json我们可以获得以下仪表板

Grafana dashboard example

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java JAXB封送字符串,具有xml值,且不转义该值   java ModelMapper转换器不工作   java像HH000412或HCANN000001这样的前缀是什么意思?   验证日期输入修复java。lang.numberformatexception错误   当表具有外键时,java Telosys代码生成失败   如何使所有派生类一起只能实例化一个实例的单例抽象基类?(爪哇)   java如何在非静态服务类中使用广播接收器   java nutch爬虫相对URL问题   使用Jboss DMR下载/保存java附件   Rest模板:无法提取响应:当我们得到xml响应时,没有找到适合响应类型的HttpMessageConverter,没有绑定到JAVA对象   java如何编写可扩展窗格/面板/卡的代码   java是在ITreeViewerListener的treeExpanded()之前调用ContentProvider的getChildren()吗?   java将JComponent添加到小程序窗格   java混淆:使用简单逻辑的Flames程序