erigon-pulse/metrics
BitBaseBit 7ed337cdcc
Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153)
* implemented crash reporting for all goroutine panics that aren't handled explicitly

* implemented crash reporting for all goroutine panics that aren't handled explicitly

* changed node defaults back to originals after testing

* implemented panic handling for all goroutines that don't explicitly handle them, outputting the stack trace to a file in crashreports

* handling panics on all goroutines gracefully

* updated missing call

* error assignment

* implemented suggestions

* path.Join added

* implemented Evgeny's suggestions

* changed path.Join to filepath.Join for cross-platform

* added err check

* updated RecoverStackTrace to LogPanic

* updated closures

* removed call of common.Go to some goroutines

* updated scope capture

* removed testing files

* reverted back to original method, I feel like its less intrusive

* update filename for clarity
2021-06-13 17:41:39 +01:00
..
exp rename (#1978) 2021-05-20 19:25:53 +01:00
librato rename (#1978) 2021-05-20 19:25:53 +01:00
prometheus rename (#1978) 2021-05-20 19:25:53 +01:00
config.go Fix lints and remove more unused code (#1621) 2021-03-29 10:58:45 +07:00
counter_test.go metrics: fix issues reported by staticcheck (#20365) 2019-12-03 13:54:15 +01:00
counter.go metrics: added NewCounterForced (#17919) 2018-10-16 16:22:51 +02:00
cpu_disabled.go Prometheus metrics: more virtual memory visibility, more cross-platform metrics (#1520) 2021-02-28 11:11:28 +07:00
cpu_enabled.go rename (#1978) 2021-05-20 19:25:53 +01:00
cpu_syscall.go rename (#1978) 2021-05-20 19:25:53 +01:00
cpu_windows.go fixed win build (#1655) 2021-04-02 08:30:09 +07:00
cpu.go Fix metrics build for windows (#1538) 2021-03-03 22:12:23 +07:00
debug_test.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
debug.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
disk.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
doc.go travis: enable test suite on ARM64 (#20219) 2019-12-03 13:24:34 +01:00
ewma_test.go travis: enable test suite on ARM64 (#20219) 2019-12-03 13:24:34 +01:00
ewma.go metrics: make meter updates lock-free (#21446) 2020-08-27 17:35:40 +02:00
FORK.md metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
gauge_float64_test.go linter fixups 2021-03-18 11:17:04 +01:00
gauge_float64.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
gauge_test.go metrics: fix issues reported by staticcheck (#20365) 2019-12-03 13:54:15 +01:00
gauge.go core, metrics, p2p: switch some invalid counters to gauges 2019-09-10 14:39:07 +03:00
graphite_test.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
graphite.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
healthcheck.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
histogram_test.go metrics: fix issues reported by staticcheck (#20365) 2019-12-03 13:54:15 +01:00
histogram.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
init_test.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
json_test.go metrics: fix issues reported by staticcheck (#20365) 2019-12-03 13:54:15 +01:00
json.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
LICENSE metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
log.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
memory.md metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
meter_test.go Turning off failing test (#1226) 2020-10-11 19:39:01 +01:00
meter.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +01:00
metrics_test.go metrics: fix flaky Example metrics test (#16222) 2018-03-01 19:55:31 +02:00
metrics.go Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. (#2153) 2021-06-13 17:41:39 +01:00
opentsdb_test.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
opentsdb.go metrics: remove redundant type specifiers (#19090) 2019-02-18 13:37:31 +02:00
registry_test.go metrics: fix issues reported by staticcheck (#20365) 2019-12-03 13:54:15 +01:00
registry.go swarm/metrics: Send the accounting registry to InfluxDB (#18470) 2019-01-24 18:57:20 +01:00
resetting_timer_test.go metrics: expvar support for ResettingTimer (#16878) 2018-06-04 13:05:16 +03:00
resetting_timer.go metrics: return an empty snapshot for NilResettingTimer (#16930) 2018-06-11 10:31:55 +03:00
runtime_cgo.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
runtime_gccpufraction.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
runtime_no_cgo.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
runtime_no_gccpufraction.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
runtime_test.go metrics: fix issues reported by staticcheck (#20365) 2019-12-03 13:54:15 +01:00
runtime.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
sample_test.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
sample.go metrics: fix issues reported by staticcheck (#20365) 2019-12-03 13:54:15 +01:00
syslog.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
timer_test.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
timer.go metrics: fix issues reported by staticcheck (#20365) 2019-12-03 13:54:15 +01:00
validate.sh metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
writer_test.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
writer.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00