Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After updating the durable consumer information of a stream, the sum of these metric is increased #243

Open
xuanlinhha opened this issue Aug 13, 2023 · 0 comments

Comments

@xuanlinhha
Copy link

xuanlinhha commented Aug 13, 2023

  • I have a 3 nodes cluster nats server & I monitor the number of un-processed messages on some jetstreams to do some scaling. But whenener I update the information of the consumer of 1 stream, this metric increases by a very high value although there is no message at that time at all.
    The information of the consumer I updated is something like ack_wait, max_deliver. This doesn't happen with 1 node nats server.

This is the metric I monitor:
sum(jetstream_consumer_num_pending{stream_name=~"some-stream*",consumer_name=~"some-durable-consumer*"})
+
sum(jetstream_consumer_num_ack_pending{stream_name=~"some-stream*",consumer_name=~"some-durable-consumer*"})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant