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

[Observability] add more blockchain metrics #3258

Open
longbowlu opened this issue Jul 18, 2022 · 2 comments
Open

[Observability] add more blockchain metrics #3258

longbowlu opened this issue Jul 18, 2022 · 2 comments
Assignees
Labels
observability Observability for Sui, Narwhal, etc. Logging/metrics/alerting/tracing/events sui-node
Milestone

Comments

@longbowlu
Copy link
Contributor

including but not limited to the following:

  • num of distinct addresses that have sent txes
  • num of live objects
  • num of distinct object ID's (i.e., # live objects + # deleted objects)
  • num of Move package objects
  • total size of object DB
  • total size of locks DB
  • total size of tx log
  • average tx size
  • average object size
  • max tx size
  • max object size
@longbowlu longbowlu self-assigned this Jul 18, 2022
@longbowlu longbowlu added this to the [B] Wave 1 milestone Jul 18, 2022
@longbowlu longbowlu added the observability Observability for Sui, Narwhal, etc. Logging/metrics/alerting/tracing/events label Jul 18, 2022
@longbowlu
Copy link
Contributor Author

I don't like my current draft solution. A more robust approach is to store these metrics on DB (e.g. IndexStore or it can use a better name), and we have a period tokio task to report the metrics.
@oxade is offering to help me facilitate some variable-ish value storage in rocksdb, with atomicity & read consistency. I will resume the work once that feature is ready

@longbowlu
Copy link
Contributor Author

longbowlu commented Aug 16, 2022

had an off-line discussion with @oxade and @velvia. The conclusion is @velvia will take this task on

@oxade oxade removed their assignment Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
observability Observability for Sui, Narwhal, etc. Logging/metrics/alerting/tracing/events sui-node
Projects
None yet
Development

No branches or pull requests

3 participants