You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/08/12 04:47:28 UTC

[GitHub] [pulsar] Esakkimuthu991 opened a new issue #7799: Pulsar metrics providing wrong information

Esakkimuthu991 opened a new issue #7799:
URL: https://github.com/apache/pulsar/issues/7799


   **Pulsar metrics endpoint provides irrelevant information**
   Wanted to create pulsar grafana dashboard. we rely on */metrics* endpoint. In that *pulsar_topics_count* provides wrong information/ Correct me if the understanding is different.
    
   **To Reproduce**
   Steps to reproduce the behavior:
   We created two namespaces -> sample1, sample2
   In sample1 we have 6 topics.
   In sample2 we have 3 topics.
   
   then pulsar_topics_count metrics as below
   
   pulsar_topics_count{cluster="cluster1",namespace="public/sample1"} 6 1597206282645
   pulsar_topics_count{cluster="cluster1",namespace="public/sample2"} 9 1597206282645
   
   **Expected behavior**
   But the 2nd metric should provide information as below
   pulsar_topics_count{cluster="cluster1",namespace="public/sample2"} 3 1597206282645
   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui commented on issue #7799: Pulsar metrics providing wrong information

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #7799:
URL: https://github.com/apache/pulsar/issues/7799#issuecomment-672924814


   Are the topics partitioned under the namespace `public/sample2`? Pulsar will count each partition into a topic.


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] codelipenghui closed issue #7799: Pulsar metrics providing wrong information

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #7799:
URL: https://github.com/apache/pulsar/issues/7799


   


----------------------------------------------------------------
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.

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



[GitHub] [pulsar] Esakkimuthu991 commented on issue #7799: Pulsar metrics providing wrong information

Posted by GitBox <gi...@apache.org>.
Esakkimuthu991 commented on issue #7799:
URL: https://github.com/apache/pulsar/issues/7799#issuecomment-672946521


   > Are the topics partitioned under the namespace `public/sample2`? Pulsar will count each partition into a topic.
   
   No, Its not a partitioned topic


----------------------------------------------------------------
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.

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