摘要: [root@monitor prometheus]# curl -XPOST localhost:9090/-/reloadLifecycle API is not enabled. 添加--web.enable-lifecycle 阅读全文
posted @ 2020-06-11 14:01 caonw 阅读(4662) 评论(0) 推荐(0) 编辑
摘要: 下载采集端 https://github.com/oliver006/redis_exporter prometheus配置 - job_name: 'redis_exporter_targets' static_configs: - targets: - redis://10.23.215.214 阅读全文
posted @ 2020-06-11 13:19 caonw 阅读(433) 评论(0) 推荐(0) 编辑
摘要: Kafka设计的初衷是迅速处理短小的消息,一般10K大小的消息吞吐性能最好(可参见LinkedIn的kafka性能测试)。但有时候,我们需要处理更大的消息,比如XML文档或JSON内容,一个消息差不多有10-100M,这种情况下,Kakfa应该如何处理?针对这个问题,有以下几个建议: 最好的方法是不 阅读全文
posted @ 2020-06-11 11:12 caonw 阅读(1432) 评论(0) 推荐(0) 编辑
摘要: 注册 注册的信息,主机名cdh-node2 ip:10.23.215.217 consul 地址:10.23.215.236:8500 curl -X PUT -d '{"id": "cdh-node2","name": "cdh-node2","address": "10.23.215.217", 阅读全文
posted @ 2020-06-11 09:02 caonw 阅读(2608) 评论(0) 推荐(0) 编辑