Skip to content

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

Open
@xuanlinhha

Description

@xuanlinhha
  • 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*"})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions