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

Update jormungandr metrics that need to be reset when the node (re-)starts. #600

Closed
saibatizoku opened this issue Oct 18, 2023 · 1 comment · May be fixed by input-output-hk/jormungandr#4142
Assignees
Labels
enhancement New feature or request

Comments

@saibatizoku
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The metrics dashboard shows inaccurate values when the node is re-started for the number of connected peers, and the usage of the mempool. This is due to cummulative nature of the prometheus metrics.

Describe the solution you'd like
A simple explicit resetting of these metrics to 0 when the node starts/restarts, should fix this.

Describe alternatives you've considered
Not doing anything, and keep things as they are, hoping that someone will remember that this is how the metrics work.

Additional context
Having metrics that show unreliable numbers has caused interpretation problems in the past.

@saibatizoku
Copy link
Contributor Author

@saibatizoku saibatizoku added the enhancement New feature or request label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants