Commit graph

12328 commits

Author SHA1 Message Date
Daniel Liu
e8452c94a7 metrics: fix some typos (#25551) 2024-12-13 14:00:12 +08:00
Daniel Liu
392b44c948 metrics/influxdb: replace time.Tick with time.NewTicker (#24783) 2024-12-13 14:00:12 +08:00
Daniel Liu
2e34afe400 rpc: swap out timer metrics to histograms (#25044) 2024-12-13 14:00:12 +08:00
Daniel Liu
7b0a7e4593 metrics/influxdb: temp solution to present counter meaningfully (#24811) 2024-12-13 14:00:12 +08:00
Daniel Liu
d77c1e5ea3 metrics: replace strings.Replace with string.ReplaceAll (#24835) 2024-12-13 14:00:12 +08:00
Daniel Liu
2e5b342826 metrics: add go:build lines (#23468) 2024-12-13 14:00:12 +08:00
Daniel Liu
98079104e4 metrics: fix compilation for GOOS=js (#23449) 2024-12-13 14:00:12 +08:00
Daniel Liu
29b72dbba6 metrics/influxdb: support V2 (#23194) 2024-12-13 14:00:12 +08:00
Daniel Liu
73b81dde78 metrics: use golang.org/x/sys/unix to support Solaris (#22584)
Fixes #11113

Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
2024-12-13 14:00:12 +08:00
Daniel Liu
d16c72edbe metrics/influxdb: don't push empty histograms, no measurement != 0 (#22590) 2024-12-13 14:00:12 +08:00
Daniel Liu
ebbcd608cc metrics: use resetting histograms for rare packets (#22586) 2024-12-13 14:00:12 +08:00
Daniel Liu
5e9cb5d758 metrics: add handler performance metrics (#22581) 2024-12-13 14:00:12 +08:00
Daniel Liu
ec0ae4965d metrics: fix cast omission in cpu_syscall.go (#22262)
fixes an regression which caused build failure on certain platforms
2024-12-13 14:00:12 +08:00
Daniel Liu
1a844e4578 metrics: remove uneeded syntax (#21921) 2024-12-13 14:00:12 +08:00
Daniel Liu
9d082aa38c cmd/XDC: dump config for metrics (#22083) 2024-12-13 14:00:12 +08:00
Daniel Liu
d4f1b8a6dd metrics: fix the panic for reading empty cpu stats (#21864) 2024-12-13 14:00:12 +08:00
Daniel Liu
bf4b42a551 metrics: zero temp variable in updateMeter (#21470)
* metrics: zero temp variable in  updateMeter

Previously the temp variable was not updated properly after summing it to count.
This meant we had astronomically high metrics, now we zero out the temp whenever we
sum it onto the snapshot count

* metrics: move temp variable to be aligned, unit tests

Moves the temp variable in MeterSnapshot to be 64-bit aligned because of the atomic bug.
Adds a unit test, that catches the previous bug.
2024-12-13 14:00:12 +08:00
Daniel Liu
730960ff06 metrics: make meter updates lock-free (#21446) 2024-12-13 14:00:12 +08:00
Daniel Liu
3dee6675d2 metrics/exp: allow configuring metrics HTTP server on separate endpoint (#21290) 2024-12-13 14:00:12 +08:00
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
c65d0cd947 cmd/XDC: enable metrics for geth import command (#20738) 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
4202f23897 core: more detailed metrics for block processing (#18119) 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
23bc924585 internal/debug: start pprof server by new function StartPProf (#16532) 2024-12-13 14:00:11 +08:00
Daniel Liu
66da805ccd
Merge pull request #759 from gzliudan/fix_double_metrics
cmd/XDC: fix double metrics collect process issue
2024-12-13 13:56:26 +08:00
Daniel Liu
11b74151bd cmd/XDC: fix double metrics collect process issue 2024-12-13 13:56:09 +08:00
Wanwiset Peerapatanapokin
b794f6a849
recover devnet by increasing timeout (#760) 2024-12-12 20:28:46 -08:00
Daniel Liu
d4444878bc
Merge pull request #751 from gzliudan/upgrade-crypto
upgrade package crypto and support KZG cryptography
2024-12-09 18:42:26 +08:00
Daniel Liu
3fbbc9da9f crypto: fix typos in comments (#29186) 2024-12-09 17:49:00 +08:00
Daniel Liu
727855752c crypto: add support for blobs in eth_fillTransaction (#28839) 2024-12-09 17:49:00 +08:00
Daniel Liu
fabfcc7f6c crypto: fix docstring names (#28923) 2024-12-09 17:49:00 +08:00
Daniel Liu
cae53aa7fd crypto/kzg4844: add helpers for versioned blob hashes (#28827) 2024-12-09 17:49:00 +08:00
Daniel Liu
824dea669c crypto/kzg4844: use the new trusted setup file and format (#28383) 2024-12-09 17:49:00 +08:00