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
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
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