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

node: detect and fill counters as part of debug_api/metrics rpc #16054

Merged
merged 1 commit into from
Feb 27, 2018

Conversation

nonsense
Copy link
Member

@nonsense nonsense commented Feb 9, 2018

This PR addresses #15933

I am not 100% sure this is the correct way to fix the problem, but all counters are listed as type string and default value "Unknown metric type" when returned by this RPC.

I am not sure how this ever worked, considering that we have many counters as part of the codebase - @karalabe were they ever displayed in the geth monitor?

@nonsense nonsense force-pushed the debugapi_metrics_fill_counters branch from f46f698 to 9c5f8b3 Compare February 23, 2018 13:37
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karalabe
Copy link
Member

I think counters were added fairly late and we didn't use the monitor for anything since then. All in all I think we should just kill the monitor. Noone's using it anyway since noone's maintaining it. Maybe the dashboard could replace it eventually :)

@karalabe karalabe added this to the 1.8.2 milestone Feb 27, 2018
@karalabe karalabe merged commit 18bb3da into ethereum:master Feb 27, 2018
prestonvanloon pushed a commit to prestonvanloon/go-ethereum that referenced this pull request Apr 2, 2018
mariameda pushed a commit to NiluPlatform/go-nilu that referenced this pull request Aug 23, 2018
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.

2 participants