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 for DataColumnSidecars #65

Open
zilm13 opened this issue Jun 28, 2024 · 0 comments
Open

Add metrics for DataColumnSidecars #65

zilm13 opened this issue Jun 28, 2024 · 0 comments

Comments

@zilm13
Copy link
Collaborator

zilm13 commented Jun 28, 2024

For example, lighthouse das branch provides specific metrics;

Full runtime of data column sidecars gossip verification (counter)
Number of data column sidecars verified for gossip (counter)
Total count of reconstructed columns (counter)
Time taken to reconstruct columns (histogram)
Time taken to compute data column sidecar, including cells, proofs and inclusion proof (histogram)
Time taken to verify data_column sidecar inclusion proof (histogram)
Runtime of batched data column kzg verification (histogram)
Runtime of single data column kzg verification (histogram)

Counts on custody could be useful. column_index as labels?

Total count of columns in custody (counter)

Gossipsub domain metrics will be very handy imo. Should contain topic data_column_sidecar_{subnet_id} as labels;

Number of gossip messages sent to each topic (counter)
Number of bytes sent to each topic (counter)
Number of gossip messages received from each topic (including duplicates) (counter)
Number of bytes received from each topic (including duplicates) (counter)
Number of gossip messages received from each topic (deduplicated) (counter)
Number of bytes received from each topic (deduplicated) (counter)

Req/Resp domain metrics would be nice to have. Should contain protocol ID /eth2/beacon_chain/req/data_column_sidecars_by_root/1/ and /eth2/beacon_chain/req/data_column_sidecars_by_range/1/ as labels;

Number of requests sent (counter)
Number of requests received (counter)
Number of responses sent (counter)
Number of responses bytes sent (counter)
Number of responses received (counter)
Number of responses bytes received (counter)
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