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

rpc: add prometheus metrics for dropped subscriptions #4835

Closed
wants to merge 25 commits into from

Conversation

niklasad1
Copy link
Member

Close #4184

This PR adds prometheus metrics that keeps track of the number of subscriptions and which peer that caused that.
This is useful for rpc node operators to know how many subscriptions are dropped and which peers that are causing that i.e, to take action to ban certain peers that are just creating lots of subscriptions and don't read them fast-enough...

Builds on #4730

@niklasad1 niklasad1 changed the title rpc: add prometheos metrics for dropped subscriptions rpc: add prometheus metrics for dropped subscriptions Jun 19, 2024
@niklasad1 niklasad1 force-pushed the na-jsonrpsee-v0.23-with-ip-addr branch from 44979f7 to c7be842 Compare June 19, 2024 14:08
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable 2/3
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6639570

@niklasad1 niklasad1 closed this Dec 12, 2024
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.

rpc server: Subscription buffer limit exceeded
2 participants