Replies: 1 comment
-
When I use the promtool tool to detect the indicators of RocketMQ 5, the results are as follows linux > curl -s http://172.16.1.11:5557/metrics | ./promtool check metrics
error while linting: text format parsing error in line 1: unknown metric type "info" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
RocketMQ Version: 5.3.2
When using prometheus to directly obtain rocketmq 5 indicators, everything is normal, but when configuring proxy_url, the following error occurs: invalid metric type "info"
I saw the monitoring data spit out by rocketmq as follows:
I looked at the source code of prometheus and found that it would parse #TYPE and then see that it was "info", so it reported an error.
I used curl to request RocketMQ's /metrics directly or through the proxy --proxy xxxx http://xxxxx:5557/metrics. I carefully compared the message. Except for the header, there was no difference in the entire http response body.
Beta Was this translation helpful? Give feedback.
All reactions