Daniel Liu
d7d54b00f7
metrics: replace gosigar with gopsutil ( #21041 )
2024-12-13 14:00:12 +08:00
Daniel Liu
32f974cc7b
metrics/prometheus: define TYPE once, add tests ( #21068 )
...
* metrics/prometheus: define type once for histograms
* metrics/prometheus: test collector
2024-12-13 14:00:12 +08:00
Daniel Liu
1415bb6369
metrics: add missing calls to Ticker.Stop in tests ( #20866 )
2024-12-13 14:00:12 +08:00
Daniel Liu
47ce406a4a
metrics: make flawed test less flawed ( #20818 )
2024-12-13 14:00:12 +08:00
Daniel Liu
9fee8a72eb
metrics: disable CPU stats (gosigar) on iOS ( #20816 )
2024-12-13 14:00:12 +08:00
Daniel Liu
462999b381
metrics: fix issues reported by staticcheck ( #20365 )
2024-12-13 14:00:12 +08:00
Daniel Liu
332ac32bc5
metrics: not compare float numbers directly ( #20219 )
2024-12-13 14:00:12 +08:00
Daniel Liu
745640795a
metrics: change links in README.md to https ( #20182 )
2024-12-13 14:00:11 +08:00
Daniel Liu
a4e113ca11
metrics: gather and export threads and goroutines ( #19725 )
2024-12-13 14:00:11 +08:00
Daniel Liu
1eb2ed8293
core, metrics, p2p: expose various counter metrics for grafana ( #19692 )
2024-12-13 14:00:11 +08:00
Daniel Liu
a577c71944
metrics/prometheus: added prometheus metrics ( #17077 )
2024-12-13 14:00:11 +08:00
Daniel Liu
ed427a9426
metrics: fix expensive metrics flag processing ( #19327 )
2024-12-13 14:00:11 +08:00
Daniel Liu
db9487f1e8
core: split out detailed trie access metrics from insertion time ( #19316 )
2024-12-13 14:00:11 +08:00
Daniel Liu
1557746bcd
metrics/influxdb: add a timeout to the InfluxDB HTTP client ( #19250 )
2024-12-13 14:00:11 +08:00
Daniel Liu
7608787b3c
metrics: remove redundant type specifiers ( #19090 )
2024-12-13 14:00:11 +08:00
Daniel Liu
3e4583e7c4
cmd/utils: allow for multiple influxdb flags ( #18520 )
2024-12-13 14:00:11 +08:00
Daniel Liu
01a5298273
metrics: added NewCounterForced ( #17919 )
2024-12-13 14:00:11 +08:00
Daniel Liu
61f5a888c3
metrics: add force option for metric system ( #17667 )
2024-12-13 14:00:11 +08:00
Daniel Liu
92a7b64961
metrics: export to InfluxDB ( #16979 )
2024-12-13 14:00:11 +08:00
Daniel Liu
b9323b73e0
metrics/influxdb: fix staticcheck warning SA1015: replace time.Tick with time.NewTicker
2024-10-31 11:01:45 +08:00
Daniel Liu
4709ca3f13
all: fix staticcheck warning SA1006
2024-10-28 15:13:21 +08:00
Daniel Liu
fbecb8c5a5
all: fix staticcheck warning ST1006: don't use generic name self
...
The name of a method’s receiver should be a reflection of its identity;
often a one or two letter abbreviation of its type suffices (such as
“c” or “cl” for “Client”). Don’t use generic names such as “me”, “this”
or “self”, identifiers typical of object-oriented languages that place
more emphasis on methods as opposed to functions. The name need not be
as descriptive as that of a method argument, as its role is obvious and
serves no documentary purpose. It can be very short as it will appear
on almost every line of every method of the type; familiarity admits
brevity. Be consistent, too: if you call the receiver “c” in one method,
don’t call it “cl” in another.
2024-10-25 21:30:54 +08:00
Daniel Liu
87a6b5f4c3
Merge pull request #689 from gzliudan/fix-st1005
...
all: fix staticcheck warning ST1005
2024-10-25 15:28:07 +08:00
Daniel Liu
bd4bb14b5e
Merge pull request #692 from gzliudan/fix-sa4006
...
all: fix staticcheck warning SA4006: never used value
2024-10-25 15:26:38 +08:00
Daniel Liu
c6e4e880ea
all: fix staticcheck warning SA4006: never used value
2024-10-24 17:37:19 +08:00
Daniel Liu
3409ada149
metrics: fix staticcheck warning ST1017: don't use yoda conditions
2024-10-24 16:07:11 +08:00
Daniel Liu
a79411fa06
all: fix staticcheck warning ST1005: incorrectly formatted error string
2024-10-24 09:48:20 +08:00
wanwiset25
cb792ef34f
Revert EIP-2464
2024-08-24 02:31:27 +07:00
wanwiset25
c9ee3240fb
fix tests
2024-06-28 11:33:04 +04:00
Daniel Liu
742a7f9348
core, metrics: switch some invalid counters to gauges ( #20047 )
2024-05-10 19:48:10 +08:00
Wanwiset Peerapatanapokin
aaa246f60e
PDF-01 ( #397 )
...
* replace deprecated ioutil lib calls
* fix for FileInfo type required
* fix for ioutil.Discard
* fix .Discard
* fix for go-bindata generated files
2024-01-19 15:05:03 +04:00
Jerome
bcffe1ec16
Give the XDC option to use emit metrics ( #89 )
2022-06-19 13:42:48 +02:00
olumuyiwadad
b5abbfed79
new EVM Upgrade
...
- Solidity Upgraded up to v0.8.0
- Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30
olumuyiwadad
571c41f891
FIx Bad block error.
2021-09-17 17:59:06 +05:30
Jerzy Lasyk
320d132925
swarm/metrics: Send the accounting registry to InfluxDB ( #18470 )
...
(cherry picked from commit f28da4f602 )
2019-02-19 17:34:42 +01:00
Elad
bb724080ca
cmd/swarm, metrics, swarm/api/client, swarm/storage, swarm/metrics, swarm/api/http: add instrumentation ( #18274 )
2018-12-11 09:21:58 +01:00
Kurkó Mihály
f574c4e74b
metrics, p2p: add ephemeral registry ( #18067 )
...
* metrics, p2p: add ephemeral registry
* metrics: fix linter issue
2018-11-09 10:20:51 +01:00
holisticode
4466c7b971
metrics: added NewCounterForced ( #17919 )
2018-10-16 16:22:51 +02:00
gary rong
5d1d1a808d
consensus, ethdb, metrics: implement forced-meter ( #17667 )
2018-09-17 15:32:34 +03:00
Oleg Kovalov
d42ce0f2c1
all: simplify switches ( #17267 )
...
* all: simplify switches
* silly mistake
2018-07-30 12:30:09 +03:00
Anton Evangelatov
b3711af051
swarm: ctx propagation; bmt fixes; pss generic notification framework ( #17150 )
...
* cmd/swarm: minor cli flag text adjustments
* swarm/api/http: sticky footer for swarm landing page using flex
* swarm/api/http: sticky footer for error pages and fix for multiple choices
* cmd/swarm, swarm/storage, swarm: fix mingw on windows test issues
* cmd/swarm: update description of swarm cmd
* swarm: added network ID test
* cmd/swarm: support for smoke tests on the production swarm cluster
* cmd/swarm/swarm-smoke: simplify cluster logic as per suggestion
* swarm: propagate ctx to internal apis (#754 )
* swarm/metrics: collect disk measurements
* swarm/bmt: fix io.Writer interface
* Write now tolerates arbitrary variable buffers
* added variable buffer tests
* Write loop and finalise optimisation
* refactor / rename
* add tests for empty input
* swarm/pss: (UPDATE) Generic notifications package (#744 )
swarm/pss: Generic package for creating pss notification svcs
* swarm: Adding context to more functions
* swarm/api: change colour of landing page in templates
* swarm/api: change landing page to react to enter keypress
2018-07-09 14:11:49 +02:00
Anton Evangelatov
1990c9e621
cmd/geth: export metrics to InfluxDB ( #16979 )
...
* cmd/geth: add flags for metrics export
* cmd/geth: update usage fields for metrics flags
* metrics/influxdb: update reporter logger to adhere to geth logging convention
2018-07-02 15:51:02 +03:00
Elad
1836366ac1
all: library changes for swarm-network-rewrite ( #16898 )
...
This commit adds all changes needed for the merge of swarm-network-rewrite.
The changes:
- build: increase linter timeout
- contracts/ens: export ensNode
- log: add Output method and enable fractional seconds in format
- metrics: relax test timeout
- p2p: reduced some log levels, updates to simulation packages
- rpc: increased maxClientSubscriptionBuffer to 20000
2018-06-14 11:21:17 +02:00
Péter Szilágyi
3f06da7b5f
metrics: fix gofmt linter warnings
2018-06-12 14:02:36 +03:00
Clayton Jacobs
b487bdf0ba
metrics: removed repetitive calculations ( #16944 )
2018-06-11 14:45:25 +03:00
Anton Evangelatov
7f0726f706
metrics: return an empty snapshot for NilResettingTimer ( #16930 )
2018-06-11 10:31:55 +03:00
Anton Evangelatov
be2aec092d
metrics: expvar support for ResettingTimer ( #16878 )
...
* metrics: expvar support for ResettingTimer
* metrics: use integers for percentiles; remove Overall
* metrics: fix edge-case panic for index-out-of-range
2018-06-04 13:05:16 +03:00
kiel barry
cd9a1d5b37
metrics: golint updates for this or self warning ( #16635 )
...
* metrics/*: golint updates for this or self warning
* metrics/*: golint updates for this or self warning, updated pr from feedback
2018-05-03 12:43:59 +03:00
Anton Evangelatov
3ca3fffdf0
metrics: fix flaky Example metrics test ( #16222 )
...
* metrics: add sleep to test in order to get predictable output
* metrics: relax constraints on timer test
2018-03-01 19:55:31 +02:00
Anton Evangelatov
dcca613a0b
swarm: initial instrumentation ( #15969 )
...
* swarm: initial instrumentation with go-metrics
* swarm: initialise metrics collection and add ResettingTimer to HTTP requests
* swarm: update metrics flags names. remove redundant Timer.
* swarm: rename method for periodically updating gauges
* swarm: finalise metrics after feedback
* swarm/network: always init kad metrics containers
* swarm/network: off-by-one index in metrics containers
* swarm, metrics: resolved conflicts
2018-02-23 14:19:59 +01:00
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
2018-02-23 11:56:08 +02:00
Kurkó Mihály
ba62215d9e
cmd, dashboard: dashboard using React, Material-UI, Recharts ( #15393 )
...
* cmd, dashboard: dashboard using React, Material-UI, Recharts
* cmd, dashboard, metrics: initial proof of concept dashboard
* dashboard: delete blobs
* dashboard: gofmt -s -w .
* dashboard: minor text and code polishes
2017-11-14 19:34:00 +02:00
ferhat elmas
86f6568f66
build: enable unconvert linter ( #15456 )
...
* build: enable unconvert linter
- fixes #15453
- update code base for failing cases
* cmd/puppeth: replace syscall.Stdin with os.Stdin.Fd() for unconvert linter
2017-11-10 19:06:45 +02:00
Bo Ye
b4b27ebaea
metrics: change MetricsEnabledFlag to be const
2017-08-22 18:35:09 +12:00
Péter Szilágyi
e7030c4bf5
all: update light logs (and a few others) to the new model
2017-03-03 11:41:52 +02:00
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
2017-02-23 12:16:44 +02:00
Felix Lange
b9b3efb09f
all: fix ineffectual assignments and remove uses of crypto.Sha3
...
go get github.com/gordonklaus/ineffassign
ineffassign .
2017-01-09 16:24:42 +01:00
Martin Holst Swende
36956da4d2
core: metrics collection for transaction events ( #3157 )
...
* core: Add metrics collection for transaction events; replace/discard for pending and future queues, as well as invalid transactions
* core: change namespace for txpool metrics
* core: define more metrics (not yet used)
* core: implement more tx metrics for when transactions are dropped
* core: minor formatting tweeks (will squash later)
* core: remove superfluous meter, fix missing pending nofunds
* core, metrics: switch txpool meters to counters
2016-11-01 14:46:11 +02:00
Nick Johnson
9e9bfc4e26
metrics, internal/debug: Add --pprofaddr flag, expose metrics via gexp
2016-10-14 12:29:08 +01:00
Felix Lange
6fdd0893c3
all: fix go vet warnings
2016-04-15 11:17:27 +02:00
Péter Szilágyi
c51e153b5c
eth, metrics, p2p: prepare metrics and net packets to eth/62
2015-08-21 10:30:57 +03:00
Felix Lange
bf48ed32dd
metrics: fix file descriptor leak when reading disk stats on linux
...
The disk stats file was not closed after reading.
2015-08-03 16:27:36 +02:00
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a .
2015-07-23 18:35:11 +02:00
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
2015-07-22 18:51:45 +02:00
Felix Lange
ea54283b30
all: update license information
2015-07-07 14:12:44 +02:00
Péter Szilágyi
01fe972113
cmd, core, eth, metrics, p2p: require enabling metrics
2015-06-30 00:51:46 +02:00
Péter Szilágyi
2aeeb72fa5
cmd/geth, metrics: separate process metric collection, add disk
2015-06-30 00:51:02 +02:00