liuymcn / rocketmq-exporter-go Goto Github PK
View Code? Open in Web Editor NEWAn application of Rocketmq exporter for Prometheus which purely developed by golang
License: Apache License 2.0
An application of Rocketmq exporter for Prometheus which purely developed by golang
License: Apache License 2.0
部分使用adminExt.cli的接口请求会报此错误
level=error msg="CollectTopicOffset ExamineTopicStats " err="CODE: 1 DESC: org.apache.rocketmq.acl.common.AclException: No accessKey is configure
d, org.apache.rocketmq.acl.plain.PlainPermissionManager.validate(PlainPermissionManager.java:404)"
不能失败域名
docker run -it --rm -p 9999:9999 lucas987/rocketmq-exporter-go:v0.1.1 --rocketmq.nameserver="rocketmq-prod.ddplatform.svc.cluster.local:9876"
INFO[0000] Fly listenAddress=":9999" metricsPath=/metrics opts="{[rocketmq-prod.ddplatform.svc.cluster.local:9876] 100}"
FATA[0000] create Exporter err="IP addr error"
如题,相比rocketmq-exporter,没有rocketmq_producer_count数据
docker run -it --rm -p 9999:9999 lucas987/rocketmq-exporter-go:v0.1.1 --rocketmq.nameserver="10.244.111.153:9876"
INFO[0000] Fly listenAddress=":9999" metricsPath=/metrics opts="{[10.244.111.153:9876] 100}"
INFO[0001] sending heartbeat, but no producer and no consumer
panic: runtime error: index out of range [1] with length 1
goroutine 421 [running]:
github.com/rocketmq-exporter-go/admin.newPutTps({0x0?, 0x40004ac420?})
F:/github/rocketmq-exporter-go/admin/admin_ext_query_broker_runtime_info.go:210 +0xe8
github.com/rocketmq-exporter-go/admin.newBrokerRuntimeInfo({0x4000147b00?})
F:/github/rocketmq-exporter-go/admin/admin_ext_query_broker_runtime_info.go:146 +0x830
github.com/rocketmq-exporter-go/admin.(*adminExt).QueryBrokerRuntimeInfo(0x4000225880, {0x78fed0, 0x4000132000}, {0x400014d488, 0x13})
F:/github/rocketmq-exporter-go/admin/admin_ext_query_broker_runtime_info.go:42 +0x15c
github.com/rocketmq-exporter-go/exporter.(*RocketmqExporter).CollectBrokerRuntimeInfo(0x4000173180, 0x40000d00c0?, 0x400012d090)
F:/github/rocketmq-exporter-go/exporter/metric_collect_broker_runtime_info.go:17 +0x88
github.com/rocketmq-exporter-go/exporter.(*RocketmqExporter).collect.func6(0x1?)
F:/github/rocketmq-exporter-go/exporter/collect.go:134 +0x6c
github.com/rocketmq-exporter-go/exporter.(*RocketmqExporter).collect.func7(0x400012e360?)
F:/github/rocketmq-exporter-go/exporter/collect.go:144 +0x5c
created by github.com/rocketmq-exporter-go/exporter.(*RocketmqExporter).collect
F:/github/rocketmq-exporter-go/exporter/collect.go:152 +0x530
./rocketmq-exporter-go --rocketmq.nameserver=10.5.20.34:9876 --web.listen-address=:9998
INFO[0000] Fly listenAddress=":9998" metricsPath=/metrics opts="{[10.5.20.34:9876] 100}"
INFO[0001] sending heartbeat, but no producer and no consumer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.