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 clock slot and genesis time metrics #2465

Merged
merged 2 commits into from
May 3, 2021

Conversation

dapplion
Copy link
Contributor

@dapplion dapplion commented May 2, 2021

Motivation

Allow to monitor from Grafana charts the sync status and compute clock drift

Description

After merging the slot chart can be modified to add

(time() - lodestar_genesis_time) / 12
lodestar_clock_slot

To monitor everything in one chart

Screenshot from 2021-05-02 15-48-05

Also consider adding a new chart with

lodestar_clock_slot - (time() - lodestar_genesis_time) / 12

to measure clock drift

Closes #2462

@codeclimate
Copy link

codeclimate bot commented May 2, 2021

Code Climate has analyzed commit 27966a7 and detected 0 issues on this pull request.

View more on Code Climate.

@wemeetagain wemeetagain merged commit 5bdb118 into master May 3, 2021
@wemeetagain wemeetagain deleted the dapplion/currentSlotMetric branch May 3, 2021 15:13
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

Successfully merging this pull request may close these issues.

Add currentSlot metric
2 participants