Open JackyWYX opened 3 years ago
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 29298.8405 ONE (3008.9 USD @ $0.1/ONE) attached to it.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 1 month, 3 weeks from now. Please review their action plans below:
1) yashagarwal9 has started work.
Will Update
Learn more on the Gitcoin Issue Details page.
nice
Description
Extend the harmony node's Pprof service with some advanced developer options.
Context
Pprof is a golang tool for resource profiling, e.g. CPU, memory, goroutine, e.t.c, which is powerful for developer to discover and resolve performance and memory leak issues.
Currently, Harmony program only support profiling over HTTP connection. This results in two limitations:
Thus, an extended version of pprof service is needed.
Requested features
The extended version pprof service should have the following features:
harmony.conf
(code) which is the config file loaded when starting node.harmony.conf
migration logic for pprof new fields to enable backward compatibility for loading config file of old version. (Reference)Suggested approach
It would be suggested to build
pprof
into a self-organized module, and add it toservice.Manager
. If you have any better approach, any discussions are welcomed.Acceptance Criteria
service.Manager
.Pprof
can provide profiling over HTTP (as the current implementation).Pprof
can dump data files to local disk periodically as user settings.--help
message for non-developer users.harmony.conf
data structure and add config file migration logic for old versioned config file.Reward
USD $3,000 equivalent of Harmony ONE token.