You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/12/13 02:19:22 UTC

[GitHub] [rocketmq-exporter] herbxu opened a new issue, #123: like rocketmq_broker_tps, rocketmq_broker_qps metrics defined wrong

herbxu opened a new issue, #123:
URL: https://github.com/apache/rocketmq-exporter/issues/123

   **Describe the bug**
   As we all know, Prometheus pulled metrics from rocketmq exporter. Because rocketmq_broker_tps, rocketmq_broker_qps used Gauge Metric Type, only can be collected by Prometheus at last metric value pull time. this last metric value only represented last value, will loss many information between each Prometheus pull time. In conclusion, these metric type like QPS, RT should use Counter Metric Type, then use PromSQL calculate QPS or RT like this http metrics defined:
   QPS: sum(rate(http_server_requests_total{method="GET"}[$__interval]])) by (method)
   RT: sum(increase(http_server_requests_latency_ms_total{method="GET"}[$__interval])) by (method) / (sum(increase(http_server_requests_total{method="GET"}[$__interval])) by (method) > 0)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-exporter] chuqiao8250 commented on issue #123: like rocketmq_broker_tps, rocketmq_broker_qps metrics defined wrong

Posted by "chuqiao8250 (via GitHub)" <gi...@apache.org>.
chuqiao8250 commented on issue #123:
URL: https://github.com/apache/rocketmq-exporter/issues/123#issuecomment-1609126795

   rocketmq_broker_tps  metrics指标怎么没有了?是有其它metrics 替代了吗?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-exporter] chinaboy007 commented on issue #123: like rocketmq_broker_tps, rocketmq_broker_qps metrics defined wrong

Posted by "chinaboy007 (via GitHub)" <gi...@apache.org>.
chinaboy007 commented on issue #123:
URL: https://github.com/apache/rocketmq-exporter/issues/123#issuecomment-1718625217

   > rocketmq_broker_tps metrics指标怎么没有了?是有其它metrics 替代了吗?
   
    me too, why not rocketmq_broker_tps metric and rocketmq_broker_qps metric ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] like rocketmq_broker_tps, rocketmq_broker_qps metrics defined wrong [rocketmq-exporter]

Posted by "cserwen (via GitHub)" <gi...@apache.org>.
cserwen closed issue #123: like rocketmq_broker_tps, rocketmq_broker_qps metrics defined wrong
URL: https://github.com/apache/rocketmq-exporter/issues/123


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org