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

Gather and report metrics on lookup success and broadcasting #10

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

masih
Copy link
Member

@masih masih commented 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 requested a review from willscott March 21, 2023 12:39
receiver.go Outdated Show resolved Hide resolved
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 merged commit a49ba2f into main Mar 21, 2023
@masih masih deleted the masih/metrics branch March 21, 2023 12:52
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.

Add metrics to determine content discovery health
2 participants