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

code: Add metrics to the block store #635

Open
romac opened this issue Dec 3, 2024 · 1 comment · May be fixed by #636
Open

code: Add metrics to the block store #635

romac opened this issue Dec 3, 2024 · 1 comment · May be fixed by #636
Labels
code Code/implementation related good first issue Good for newcomers
Milestone

Comments

@romac
Copy link
Member

romac commented Dec 3, 2024

Metrics

/// Size of the database database (bytes)
db_size: Gauge,

/// Amount of data written to the database (bytes)
db_write_bytes: Counter,

/// Amount of data read from the database (bytes)
db_read_bytes: Counter,

/// Amount of key data read from the database (bytes)
db_key_read_bytes: Counter,

/// Total number of reads from the database
db_read_count: Counter,

/// Total number of writes to the database
db_write_count: Counter,

/// Total number of deletions to the database
db_delete_count: Counter,

/// Time taken to read from the database (seconds)
db_read_time: Histogram,

/// Time taken to write to the database (seconds)
db_write_time: Histogram,

/// Time taken to delete from the database (seconds)
db_delete_time: Histogram,
@romac romac added good first issue Good for newcomers code Code/implementation related labels Dec 3, 2024
@romac romac added this to the Phase 4 milestone Dec 3, 2024
@romac romac linked a pull request Dec 3, 2024 that will close this issue
2 tasks
@romac
Copy link
Member Author

romac commented Dec 3, 2024

Work in progress in #636

@romac romac modified the milestones: Phase 4, Phase 5 Dec 4, 2024
@romac romac added the phase5 label Dec 4, 2024
@romac romac removed the phase5 label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Code/implementation related good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant