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

[WIP] Metrics implementation #203

Merged
merged 9 commits into from
Oct 22, 2024
Merged

Conversation

r4f4ss
Copy link

@r4f4ss r4f4ss commented Oct 18, 2024

Implementation of the following metrics (source: trin):

portal/<NETWORK>/received/accept
portal/<NETWORK>/received/nodes
portal/<NETWORK>/received/find_nodes
portal/<NETWORK>/received/find_content
portal/<NETWORK>/received/content
portal/<NETWORK>/received/offer
portal/<NETWORK>/received/ping
portal/<NETWORK>/received/pong

portal/<NETWORK>/sent/accept
portal/<NETWORK>/sent/nodes
portal/<NETWORK>/sent/find_nodes
portal/<NETWORK>/sent/find_content
portal/<NETWORK>/sent/content
portal/<NETWORK>/sent/offer
portal/<NETWORK>/sent/ping
portal/<NETWORK>/sent/pong

portal/radius_ratio

portal/storage_capacity

portal/<NETWORK>/utp/inbound/fail_conn
portal/<NETWORK>/utp/inbound/fail_read
portal/<NETWORK>/utp/inbound/fail_deadline
portal/<NETWORK>/utp/inbound/success
portal/<NETWORK>/utp/outbound/fail_conn
portal/<NETWORK>/utp/outbound/fail_write
portal/<NETWORK>/utp/outbound/fail_deadline
portal/<NETWORK>/utp/outbound/success

portal/<NETWORK>/content/decoded/true
portal/<NETWORK>/content/decoded/false

Run:

$shisui --nat stun --networks "history,beacon,state" --metrics --metrics.addr 127.0.0.1

and watch metrics on http://127.0.0.1:6060/debug/metrics

@r4f4ss r4f4ss merged commit 95c2637 into optimism-java:portal Oct 22, 2024
1 check failed
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