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 missing metrics in api #176

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Add missing metrics in api #176

merged 2 commits into from
Sep 19, 2023

Conversation

alrevuelta
Copy link
Collaborator

@alrevuelta alrevuelta commented Sep 19, 2023

  • Add missing metrics in api endpoint /statistics
  • total_rewards_sent_30days_wei
  • rewards_per_validator_per_30days_wei

api/api.go Outdated
m.respondError(w, http.StatusInternalServerError, "could not get consensus sync progress: "+err.Error())
}

if consSync.SyncDistance > 2 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we be more permissive in this? We had problems being too strict on this and changed it to 5
https://github.com/dappnode/mev-sp-oracle/blob/add_relays_as_flag/oracle/onchain.go#L190

@alrevuelta alrevuelta merged commit 4d8c68b into main Sep 19, 2023
4 checks passed
@alrevuelta alrevuelta deleted the add-metrics branch September 19, 2023 15:22
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.

2 participants