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

Add jsz consumer ack floor consumer_seq and stream_seq metrics #151

Open
phho opened this issue Nov 9, 2021 · 0 comments
Open

Add jsz consumer ack floor consumer_seq and stream_seq metrics #151

phho opened this issue Nov 9, 2021 · 0 comments

Comments

@phho
Copy link
Contributor

phho commented Nov 9, 2021

The latest version nats exporter doesn't contain ack floor metrics, but the stream/consumer ack floor seq can be obtained through nats-server monitoring endpoint /jsz. Please consider to add ack floor metrics in nats exporter for monitoring delivered seq and ack floor seq difference. Thanks.

/jsz?consumers=true output as below

"account_details": [
 ...
      "stream_detail": [
        {
          "name": "my-stream",
           ...
          "consumer_detail": [
            {
              "stream_name": "my-stream",
              "name": "my-consumer",
               ...
              "ack_floor": {
                "consumer_seq": 5,
                "stream_seq": 5
              },
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