Giter Site home page Giter Site logo

Comments (7)

SjonHortensius avatar SjonHortensius commented on July 1, 2024

I think you should poll prysm or lighthouse to add this to their API. For example, lighthouse has /node/health which seems like a good candidate

The alternative would require this explorer to have access to the datadir of the beacon node (which it doesn't necessarily have) or do some pretty random assumptions about the storage requirements of certain data

from eth2-beaconchain-explorer.

guybrush avatar guybrush commented on July 1, 2024

We could expose grafana with node-exporter from nodes with running validators on it.

The thing is that this makes the explorer much less trivial to run.

Not sure about this yet, if you come up with some cool way to solve it we are definitely open for suggestions and/or PRs!

from eth2-beaconchain-explorer.

ncitron avatar ncitron commented on July 1, 2024

I asked over at Prysm's discord what they thought about adding a chain size API endpoint, but they said that since the chain db size is client specific, it doesn't belong in the ethereum 2.0 api. I'll have to take a look at how the metrics are exposed via grafana when I get a chance.

from eth2-beaconchain-explorer.

terencechain avatar terencechain commented on July 1, 2024

Chain size is largely determined by the type of the node the operator runs. One can choose to run a validator only node (2.5GB) or an archival node (30GB) today. The differences is how often the node saves the state

from eth2-beaconchain-explorer.

ncitron avatar ncitron commented on July 1, 2024

Chain size is largely determined by the type of the node the operator runs. One can choose to run a validator only node (2.5GB) or an archival node (30GB) today. The differences is how often the node saves the state

Thats true, which is why I was thinking of doing something like https://etherscan.io/chartsync/chaindefault. It'd be a pain to implement since it would require messing around with all the clients, but would certainly be a very useful graph for people to have access to.

from eth2-beaconchain-explorer.

Buttaa avatar Buttaa commented on July 1, 2024

added to internal PM tool

from eth2-beaconchain-explorer.

Buttaa avatar Buttaa commented on July 1, 2024

added to internal PM tool

from eth2-beaconchain-explorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.