# EPF5 Week-9: Dashboard and metrics PRs ## Week overview - [X] Implemented custody and gossip metrics for Lighthouse. - [X] Began work on libp2p metrics. - [X] Explored use cases for Beacon Blob Sidecar API (L2s). - [X] Updated the Lighthouse PeerDAS metrics dashboard following the second review. - [X] Submitted a PR to the `ethereum-package` repository for the dashboard. - [X] Had discussions about the dashboard with the Grandine team. - [X] Investigated the `Ethereum metrics` repo. This week, I continued developing Lighthouse PeerDAS metrics and submitted my initial PR. Additionally, I updated the PeerDAS metrics dashboard and submitted a PR to the ethereum-package repository. Furthermore, I explored the usage of the Beacon Blob Sidecar API across various Layer 2 solutions, engaging in discussions with Manu. ### Lighthouse PeerDAS metrics PR For Lighthouse, I implemented the following metrics: **Custody:** * Total count of columns in custody (counter) **Gossipsub:** * Number of bytes received from each topic (deduplicated) (counter) **Libp2p:** * Number of requests received (counter) * Number of responses received (counter) I have created my first draft PR for Lighthouse [Add additional PeerDAS metrics (#6018)](https://github.com/sigp/lighthouse/pull/6248). In this PR, I included the metrics that I have already implemented. Working on libp2p metrics turned out to be more complicated than I initially expected. I am going to continue working on them during the upcoming week. ### EthPandaOps PeerDAS dashboard PR Following Andrew's second review, I updated the metrics dashboard and submitted a [PR to the ethereum-package repo](https://github.com/ethpandaops/ethereum-package/pull/736). This update allows other clients to access and utilize the dashboard. During monitoring of the dashboard for 3 nodes, I found a failure which I intend to discuss with the Lighthouse and DevOps teams. ### Grandine I participated in the weekly Grandine call for fellows, where I discussed the status of the dashboard. Saulius mentioned the dashboard be potentially helpful for the Grandine PeerDAS monitoring and comparing outcomes. Upon the successful merge of my PR, I will be able to share the dashboard with Grandine. ### Ethereum metrics repo I discovered the [Ethereum beacon metrics repo](https://github.com/ethereum/beacon-metrics/blob/master/metrics.md), which is currently outdated. After discussing its purpose with Parithosh, he agreed it would be beneficial to continue working on it. My plan is to revive the repo and contribute to it using PeerDAS metrics. ### Blob sidecars API During the recent calls and discussions on Discord, core developers debated the deprecation of the [Beacon Blob Sidecars API](https://ethereum.github.io/beacon-APIs/?urls.primaryName=dev#/Beacon/getBlobSidecars) and the implementation of the Data Column API. I researched potential use cases for the Beacon Blob Sidecars API and discussed them with Manu. We learned that Arbitrum utilizes this API, and I'm planning to examine their implementation closely. Additionally, I reached out to the Starknet, Eigen Layer, and Avail teams for further insights. While Starknet does not use this API, I'm still in the process of discussing its usage with the other teams. ## Weekly EPF Activity - EPF5 Standup - [EPF5 Office Hours](https://github.com/eth-protocol-fellows/cohort-five/issues/304) AMA with Tomás Arjovsky and Martin Paulucci from LambdaClass who built the Elixir client from scratch during EPF Cohort 4. - [ACDC #139](https://www.youtube.com/live/o8p47gIt7Bs) [Github issue #1116](https://github.com/ethereum/pm/issues/1116) Devnet-2, devnet-3 discussion, new breakout room (on Mondays), mplex, SSZ EIPs, PeerDAS updates from the clients, dropping sampling, quic ENR entry. [Ethereum discv5 weekly report 2024-30, ProbeLab](https://probelab.io/ethereum/discv5/2024-30/) ## TODO - [ ] Complete the implementation of Lighthouse metrics. - [ ] Update the dashboard by adding new metrics. - [ ] Proceed with further exploration of the API. - [ ] Get feedback on the dashboard from the teams. - [ ] Start implementing Teku metrics. ## Links [Ethereum beacon metrics repo](https://github.com/ethereum/beacon-metrics/blob/master/metrics.md) [My EthPandaOps PR](https://github.com/ethpandaops/ethereum-package/pull/736) [My Lighthouse PR](https://github.com/sigp/lighthouse/pull/6248) [Beacon specs: p2p interface](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md) [Beacon Blob Sidecars API](https://ethereum.github.io/beacon-APIs/?urls.primaryName=dev#/Beacon/getBlobSidecars)