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

Poll metrics Error in metrics dashboard during node start #370

Closed
imnik11 opened this issue Jun 9, 2022 · 2 comments
Closed

Poll metrics Error in metrics dashboard during node start #370

imnik11 opened this issue Jun 9, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@imnik11
Copy link
Contributor

imnik11 commented Jun 9, 2022

What happened?

Screenshot 2022-06-09 125910

Maybe the metrics polling process started before the transaction_validation and it got empty so, it is unable to poll metrics

What is expected ?

It expected to start normally and give the archethic_mining_full_transaction_validation_duration => val , similarly others metrics etc

@imnik11 imnik11 added the bug Something isn't working label Jun 9, 2022
@ghost ghost added UI Invole user interface and removed UI Invole user interface labels Jun 9, 2022
@ghost
Copy link

ghost commented Jun 9, 2022

I think the issue is due to the use Enum.reduce/2 instead of Enum.reduce/3 as with the first one not accumulator is given.
Then if there are not nodes yet available or authorized during the startup when the polling is initiated, Enum.reduce/2 crashes if the list is empty. Hence the accumulator will help.
But another improvement will be to start the poller only when the local is completely initialized.

@internet-zero
Copy link
Member

Hey team! Please add your planning poker estimate with ZenHub @apoorv-2204 @blackode @imnik11 @Neylix @prix-uniris @samuel-uniris

@apoorv-2204 apoorv-2204 self-assigned this Jun 20, 2022
@ghost ghost closed this as completed Jun 20, 2022
@ghost ghost mentioned this issue Jun 27, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants