Metrics errors on a clean node startup #1511
Labels
good first issue
Priority: 4 - Low
Limited impact and can be implemented at any time
Ready
Issue is ready for work and anyone can freely assign it to themselves
Type: Bug
Something isn't working
Describe the bug
A fresh instance of Forest, i.e. with no
~/.forest
(or ratherconfig.data_dir
+/db
) is triggering an error in metrics. It shouldn't be a big issue but it's not nice for a new user to see errors on a clean instance.To Reproduce
Steps to reproduce the behavior:
$HOME/.forest/db
Log output
Expected behaviour
No errors from metrics on a fresh instance of Forest.
Screenshots
Environment (please complete the following information):
rustc --version
) 1.59.0Other information and links
We should probably create the correct structure before initialising Prometheus though maybe the problem is more complex than that.
The text was updated successfully, but these errors were encountered: