Skip to content

export internal status for monitor and debug - #373

Open
laizy wants to merge 1 commit into
DNAProject:masterfrom
laizy:expvar_status
Open

export internal status for monitor and debug#373
laizy wants to merge 1 commit into
DNAProject:masterfrom
laizy:expvar_status

Conversation

@laizy

Copy link
Copy Markdown
Contributor

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 laizhichao@onchain.com

Comment threadnet/node/debug.go
Connectings: node.ConnectingAddrs,
}

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

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

fixed

@laizy
laizyforce-pushed the expvar_status branch 2 times, most recently from dd3241f to a276b6bCompareJuly 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 <laizhichao@onchain.com>
Honglei-Cong pushed a commit to Honglei-Cong/DNA that referenced this pull request Nov 27, 2019
Sign up for freeto 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

@laizy@gasby88