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 expanded Prometheus metrics #132

Open
6 tasks
acolytec3 opened this issue Feb 23, 2022 · 0 comments
Open
6 tasks

Add expanded Prometheus metrics #132

acolytec3 opened this issue Feb 23, 2022 · 0 comments

Comments

@acolytec3
Copy link
Collaborator

The portalnetwork module currently reports the following metrics:

  • total nodes in discv5 routing table
  • total nodes in history network routing table
  • total content lookups
  • total successful content lookups - not clear if this is reporting correct numbers or not
  • total failed content lookups - not clear if this is reporting correct numbers or not

We should validate that the existing metrics are reporting accurate numbers and expand the sorts of data reported. Some things that come to mind:

  • Total data outbound in portal network messages - can just be a running sum of the total bytes sent per message
  • Total data inbound used in portal network messages - same as above
  • Histogram with time categories (i.e. how long it takes) for content lookup
  • Number of sendFindContent messages necessary to locate content
  • Average time for node lookup
  • Total number of portal network messages sent by type
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