ahothan opened a new issue, #15819:
URL: https://github.com/apache/pulsar/issues/15819

   **Describe the bug**
   pulsar_out_bytes_total and pulsar_out_messages_total metrics should normally 
be counters (always increasing) in the same way as pulsar_in_bytes_total and 
pulsar_in_messages_total metrics.
   However they behave incorrectly as they go up and down.
   Furthermore, when producer is idle, these 2 metrics are no longer reporting 
when pulsar is scraped.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   Create a topic, produce and consume from that topic for a long period of 
time.
   Then check how these 2 counters evolve over time
   
   **Expected behavior**
   These 2 counters should continuously increase.
   
   **Screenshots**
   See attached grafana dashboard
   
   **Desktop (please complete the following information):**
    - OS: Linux/Kubernetes 
    - deployed with sn-platform and pulsar operator
    streamnative/sn-platform:2.9.2.17
   
   
   **Additional context**
   See 
   - how the out metric goes up and down while the in metric behaves properly
   - how the out metric stops reporting values when producer is idle while the 
in metric keeps reporting the last value as expected
   
   <img width="1062" alt="Screen Shot 2022-05-27 at 4 08 34 PM" 
src="https://user-images.githubusercontent.com/4954645/170801095-076287b3-4487-474f-a5a8-6176c033ddd6.png";>
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to