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

Metrics for showing current datetime #11

Open
telezhnaya opened this issue Dec 14, 2022 · 2 comments
Open

Metrics for showing current datetime #11

telezhnaya opened this issue Dec 14, 2022 · 2 comments
Assignees

Comments

@telezhnaya
Copy link
Contributor

Now we have only latest_block_height, which I can sometimes cast to datetime accurate enough in my head 😄 , but it's better just to have the other metrics, with the timestamp.
We can easily show block_timestamp / 1000000000 (it's epoch timestamp in seconds), it perfectly fits into i64, and on grafana side we can cast it to human-readable datetime.

As usual, same for balances project.

@roshaans
Copy link

roshaans commented Dec 14, 2022

@telezhnaya We can already cast the block_timestamp into human-readable DateTime on Grafana at the moment. What value add would outputting metrics as epoch timestamp in seconds bring?

@telezhnaya
Copy link
Contributor Author

Looking at grafana, can you say where does genesis indexer run now? Which part of blockchain does it collect

@telezhnaya telezhnaya transferred this issue from near/near-indexer-events Jan 19, 2023
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

No branches or pull requests

2 participants