oasisprotocol / oasisprotocol/oasis-core

Add metrics that capture state DB growth

Open
#6,480 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

c:instrumentation
Dominant language
Go
Stars
369
Forks
151
Avg merge
1d 3h
Merged PRs (30d)
6

Description

Possibly measure implicitly with checkpoint size.

Related to it would be metric that measures how long it takes to create a checkpoint (function of state size && Badger DB size).

In practice only relevant for Sapphire.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Sapphire checkpoint implementation and the existing Go metrics entry points, then inspect how checkpoint, state, and Badger DB sizes are exposed. Done means metrics capture state DB growth and the time required to create a checkpoint, with the scope limited to Sapphire.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain, database, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.