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 last indexed block #13

Closed
fmrsabino opened this issue Aug 30, 2021 · 3 comments
Closed

Add last indexed block #13

fmrsabino opened this issue Aug 30, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@fmrsabino
Copy link
Contributor

In order to provide better visibility on the indexing status of each chain, we should show the latest indexed block number for that chain.

@gnosis/safe-services

@fmrsabino fmrsabino added the enhancement New feature or request label Aug 30, 2021
@fmrsabino fmrsabino self-assigned this Aug 30, 2021
@fmrsabino
Copy link
Contributor Author

fmrsabino commented Aug 30, 2021

Currently upptime allows to run custom javascript on the root status page (https://upptime.js.org/docs/configuration/#custom-javascript). However the root page contains not only entries for the core services but also for the client gateway.

A solution would be to:

  1. Run custom javascript to fetch the blocks for all networks (need to keep a hardcoded list with the endpoints for all networks)
  2. Update the entries (HTML) with the block number – accessing the specific div block might not be straightforward as the ids are generated.

This solution does not seem robust enough for us to maintain as upptime seems to have not be made to have custom fields backed by the payloads returned on the endpoints.

@Uxio0
Copy link
Member

Uxio0 commented Aug 30, 2021

That seems a little overcomplicated. I opened #14

@rmeissner rmeissner assigned Uxio0 and unassigned fmrsabino Aug 31, 2021
@rmeissner rmeissner changed the title Show current indexed block number Implement more proper status page Aug 31, 2021
@rmeissner rmeissner changed the title Implement more proper status page Add last indexed block Aug 31, 2021
@rmeissner
Copy link
Member

Close in favor of #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants