Closed renaynay closed 10 months ago
Attention: 19 lines
in your changes are missing coverage. Please review.
Comparison is base (
28ff21c
) 63.60% compared to head (b6fd46e
) 63.41%.
Files | Patch % | Lines |
---|---|---|
sync/metrics.go | 17.39% | 19 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I think we will have to close this one in favour of another incoming syncer metric PR
is networkHead added as a metric there? @Wondertan
There will be a subjective head(or just head) that will represent the current network head. On the code, we need to differentiate between subjective and network, but on metrics, the subjective will be the network head as it's applied almost instantly. So there will be head and the state syncing or not, which will be enough for the requested purpose
As per request
https://github.com/celestiaorg/celestia-node/issues/2921#issuecomment-1808209246
While this isn't super high priority - it is true that
totalSynced
metric does not correlate to what the current networkHead is. There is no way currently to determine what the netHead of the node is via metric (local head does not suffice as it's only reporting store head).