erigon-pulse/metrics
Mark Holt a4cfbe0d56
Heimdall metrics + Metrics HTTP server rationalization (#8094)
This is an update of:

https://github.com/ledgerwatch/erigon/pull/7846

which uses a local fork of victoria metrics to include the changes that
https://github.com/anshalshukla added to the original for we where
using.

It also includes code to address the duplicate metrics issue identified
here:

https://github.com/ledgerwatch/erigon/issues/8053

It has one more associated fix which is to correctly add a metadata
label to counters, these where previously labelled as gauges.

e.g. 

```
# TYPE p2p_peers counter
p2p_peers 0
```
rather than

```
# TYPE p2p_peers gauge
p2p_peers 0
```

---------

Co-authored-by: Anshal Shukla <53994948+anshalshukla@users.noreply.github.com>
Co-authored-by: Anshal Shukla <shukla.anshal85@gmail.com>
2023-08-31 09:04:27 +01:00
..
exp Heimdall metrics + Metrics HTTP server rationalization (#8094) 2023-08-31 09:04:27 +01:00
methelp Heimdall metrics + Metrics HTTP server rationalization (#8094) 2023-08-31 09:04:27 +01:00
prometheus Heimdall metrics + Metrics HTTP server rationalization (#8094) 2023-08-31 09:04:27 +01:00
counter.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
debug_test.go Remove "numgc" from logs (#2275) 2021-07-03 14:44:23 +07:00
doc.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07: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.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
gauge.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
healthcheck.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
histogram.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
json.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
LICENSE 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 remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
meter.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
metrics.go Downloader extract, step2 (#6076) 2022-11-20 10:41:30 +07:00
registry.go Heimdall metrics + Metrics HTTP server rationalization (#8094) 2023-08-31 09:04:27 +01:00
resetting_timer.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
runtime_test.go e3: optimize incremental hashstate (#6179) 2022-12-03 12:23:01 +07:00
sample.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
timer.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
validate.sh metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00