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 metrics to Horizon Lite #4451

Closed
5 of 7 tasks
Tracked by #4571
Shaptic opened this issue Jul 6, 2022 · 2 comments
Closed
5 of 7 tasks
Tracked by #4571

Add metrics to Horizon Lite #4451

Shaptic opened this issue Jul 6, 2022 · 2 comments

Comments

@Shaptic
Copy link
Contributor

Shaptic commented Jul 6, 2022

Epic: #4317


As part of Phase 3, we need metrics to effectively compare it to Sunset Horizon. This issue covers a few metrics:

  • How long do indices take to build?
  • How long do indices take to update in real time?
  • How old is a request, and, how does it correlate with how long servicing it takes?
  • How long different parts of the on-the-fly ingestion take:
    • index lookup,
    • ledger downloads,
    • ingestion itself, etc.

Some of these should be exposed as Prometheus metrics on the new /metrics endpoint while others are part of the logs.

@sreuland
Copy link
Contributor

sreuland commented Jul 11, 2022

I'm working on these metrics initially:

http request horizon_http_requests_duration_seconds_sum and horizon_http_requests_duration_seconds_count
number of of ledgers traversed in http request horizon_http_requests_ledgers_fetched_sum and horizon_http_requests_ledgers_fetched_count

[edit - 07/22/22] - I'm tasked on few other things, I'm not active on this development, so if someone else wants to or already has taken these metric keys that I mentioned, all good, thanks!

@Shaptic
Copy link
Contributor Author

Shaptic commented Sep 1, 2022

I'm closing this in favor of leaving the one remaining issue open, #4528

@Shaptic Shaptic closed this as completed Sep 1, 2022
Repository owner moved this from In Progress to Done in Platform Scrum Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants