Skip to content

Export hotblocks storage size metrics NET-442#78

Open
kalabukdima wants to merge 2 commits into
masterfrom
dataset-sizes
Open

Export hotblocks storage size metrics NET-442#78
kalabukdima wants to merge 2 commits into
masterfrom
dataset-sizes

Conversation

@kalabukdima

Copy link
Copy Markdown
Contributor

Run a background task to roughly estimate how much disk space each dataset is using. Expose it with the metrics. These numbers may be used to quickly understand which datasets started growing, but not as a precise disk usage profiler.

Also move all the DB reads out of the scraping path to avoid locking the DB on calls to /metrics.

Run a background task to roughly estimate how much disk
space each dataset is using. Expose it with the metrics.
These numbers may be used to quickly understand which datasets
started growing, but not as precise disk usage profiler.

Also move all the DB reads out of the scraping path to avoid
locking the DB on calls to /metrics.
@kalabukdima kalabukdima requested a review from define-null June 25, 2026 09:55
@kalabukdima kalabukdima marked this pull request as ready for review June 25, 2026 09:56
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.

1 participant