Comments (9)
There's more value in keeping REST calls to be as close to only-beacon-API as possible. The more Nimbus-specific calls there are, the less interoperability, which partly defeats the point.
Metrics weren't ever broadly interoperable to begin with, so better to put client-specific things in metrics where feasible.
from nimbus-eth2.
nextProposalSlot
is in the same Slot end
log as nextActionWait
.
from nimbus-eth2.
Okay, but can we get a metric?
from nimbus-eth2.
Would this one work for you?
Proposals are not so frequent, so it would be set to Inf
if time to next one is unknown.
And, also added a boolean one for sync committee – they last ~27hrs though with a signature every 12 seconds, but during that time profit is massively increased so it may still be worthwhile to delay maintenance to the next day if it's not critical?
If you don't need sync committee I can also remove it again from the PR.
from nimbus-eth2.
Sync committee metric is also cool, thanks for this.
from nimbus-eth2.
You really need a metric for this? We could provide a REST call.
from nimbus-eth2.
Also, metrics have more uses than REST API calls. You can actually graph how often and how busy your node is.
from nimbus-eth2.
from nimbus-eth2.
I checked Prometheus for values of the new metric and it appears to work:
Thanks.
from nimbus-eth2.
Related Issues (20)
- Build from source fails if certain special characters are in the users file path to project HOT 2
- Clear single-vote attestations from pool when aggregate is full
- Optimizing syncing of sparse branches on stalled chain HOT 1
- Segmentation fault of 24.2.2 on Windows Server 2019 Standard HOT 10
- Nimbus CL < > Prysm VC incompatibility HOT 3
- Nimbus CL < > Lodestar VC incompatibility HOT 4
- Handle 404 errors in getAggregatedAttestation response HOT 1
- publishBlockV2 fails gossip validation for valid block HOT 7
- The debug REST API is not serving recent states (less than 2 days old) HOT 6
- Checkpoint-synced nodes appear to not use ERA files HOT 2
- Error: Unhandled exception: Asynchronous task [sendMessageSlow() at pubsubpeer.nim:301] was cancelled! [FutureDefect] HOT 8
- Release tarballs missing vendor folder
- Single command for beacon node and checkpoint sync. Remove separate command for `trustedNodeSync` HOT 3
- Require flag when resuming from past-weak-subjectivity database / genesis HOT 1
- build error: incompatible pointer type HOT 5
- Check conten-type and return 415 if not supported by route HOT 7
- Beacon node's P2P degrades permanently after 40 minutes of no connectivity HOT 8
- Bug: Error build with cmd "make -jX nimbus_beacon_node" HOT 11
- Compilation error when "import libp2p/multicodec" is added to sync_manager.nim HOT 12
- Checkpoint sync fails with "Attempt to download checkpoint state timed out" on holesky on all endpoints HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimbus-eth2.