Skip to content

Add consumer count to stream queue metrics (backport #4727) (backport #4731) #4732

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

Merged
merged 3 commits into from
May 5, 2022

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented May 5, 2022

This is an automatic backport of pull request #4731 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

This commit adds the "consumers" metrics to stream queues (consumer count).
It is computed by counting the element of the consumer_created ETS table
for the given stream queue and for each member of the Osiris cluster.

Fixes #4622

(cherry picked from commit f3dfb50)
(cherry picked from commit 7b50e1e)
It handles common RPC errors.

References #4622

(cherry picked from commit d5635a4)
(cherry picked from commit 97bc53e)
Otherwise needs to enable stream feature flag.

References #4622

(cherry picked from commit febefbd)
(cherry picked from commit 548db5b)
@acogoluegnes acogoluegnes merged commit 59b5ccc into v3.9.x May 5, 2022
@acogoluegnes acogoluegnes deleted the mergify/bp/v3.9.x/pr-4731 branch May 5, 2022 12:24
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

Successfully merging this pull request may close these issues.

1 participant