Anton Evangelatov
ae9f97221a
metrics: pull library and introduce ResettingTimer and InfluxDB reporter ( #15910 )
...
* go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter.
* vendor: change nonsense/go-metrics to ethersphere/go-metrics
* go-metrics: add tests. move ResettingTimer logic from reporter to type.
* all, metrics: pull in metrics package in go-ethereum
* metrics/test: make sure metrics are enabled for tests
* metrics: apply gosimple rules
* metrics/exp, internal/debug: init expvar endpoint when starting pprof server
* internal/debug: tiny comment formatting fix
7 years ago
Péter Szilágyi
e7030c4bf5
all: update light logs (and a few others) to the new model
8 years ago
Felix Lange
d0eba23af3
all: disable log message colors outside of geth
...
Also tweak behaviour so colors are only enabled when stderr is a terminal.
8 years ago
Péter Szilágyi
f89dd62776
internal, log: support debug log prints, displaying log origins
8 years ago
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
Kenji Siu
d85d3c74db
internal/debug, internal/ethapi, rpc, swarm/storage: Ran "go fmt"
8 years ago
Nick Johnson
9e9bfc4e26
metrics, internal/debug: Add --pprofaddr flag, expose metrics via gexp
8 years ago
Bas van Kervel
861add3d72
cmd/geth: codegansta/cli package renamed to urfave/cli
9 years ago
Felix Lange
ae9ed5c420
internal/debug: also rename debug_startTrace to debug_startGoTrace
...
This was missing from the previous change.
9 years ago
Felix Lange
cafdd5931e
internal/debug: don't disable heap profile collection by default
...
Setting runtime.MemProfileRate to 0 through the flag default
value makes it impossible to get an 'in-use' profile.
9 years ago
Felix Lange
3750d835a1
internal/debug: APIs for profiling and tracing
...
The debug package provides an RPC wrapper for glog settings and the
debugging facilities of the Go runtime. They can be triggered through
both command line flags and the IPC listener.
9 years ago