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 metrics to determine content discovery health #6

Closed
masih opened this issue Mar 19, 2023 · 0 comments · Fixed by #10
Closed

Add metrics to determine content discovery health #6

masih opened this issue Mar 19, 2023 · 0 comments · Fixed by #10

Comments

@masih
Copy link
Member

masih commented Mar 19, 2023

Add metrics that aid judge the health of content discovery mechanism offered by Cassette, namely:

  • Bitswap message send errors
  • Provider count found per request
  • Batch sizes being sent
  • In-flight requests

Also, expose pprof metrics to check goroutine count.

masih added a commit that referenced this issue Mar 21, 2023
Implement prometheus metrics to report information on
* lookup success rate
* lookup result count
* lookup latency
* lookup time to first provider
* broadcaster end-to-end latency
* broadcaster in-flight messages
* broadcaster message batch size
* broadcaster success/skipped/failure rate
* receiver connected peers count
* receiver error rate

The changes here also implement:
* optional filtering of non-public addrs
* uniqueness check on found providers within a lookup response

Fixes #6
masih added a commit that referenced this issue Mar 21, 2023
Implement prometheus metrics to report information on
* lookup success rate
* lookup result count
* lookup latency
* lookup time to first provider
* broadcaster end-to-end latency
* broadcaster in-flight messages
* broadcaster message batch size
* broadcaster success/skipped/failure rate
* receiver connected peers count
* receiver error rate

The changes here also implement:
* optional filtering of non-public addrs
* uniqueness check on found providers within a lookup response

Fixes #6
@masih masih closed this as completed in #10 Mar 21, 2023
masih added a commit that referenced this issue Mar 21, 2023
Implement prometheus metrics to report information on
* lookup success rate
* lookup result count
* lookup latency
* lookup time to first provider
* broadcaster end-to-end latency
* broadcaster in-flight messages
* broadcaster message batch size
* broadcaster success/skipped/failure rate
* receiver connected peers count
* receiver error rate

The changes here also implement:
* optional filtering of non-public addrs
* uniqueness check on found providers within a lookup response

Fixes #6
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 a pull request may close this issue.

1 participant