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

export internal status for monitor and debug #373

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

laizy
Copy link
Contributor

@laizy laizy commented Jul 26, 2017

currently have exported the status of local node, peers, connections, transaction pool and ChainStore,
which can be accessed from http://nodeip:HttpJsonPort/debug/vars

Signed-off-by: laizy [email protected]

Connectings: node.ConnectingAddrs,
}

for _, n := range node.nbrNodes.List {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should add lock to guard node.nbrNodes.List

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@laizy laizy force-pushed the expvar_status branch 2 times, most recently from dd3241f to a276b6b Compare July 27, 2017 10:07
currently have exported the status of local node, peers, connections, transaction pool and ChainStore,
which can be accessed from http://nodeip:HttpJsonPort/debug/vars

Signed-off-by: laizy <[email protected]>
Honglei-Cong pushed a commit to Honglei-Cong/DNA that referenced this pull request Nov 27, 2019
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