erigon-pulse/p2p
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
..
discover Bor span testing (#7897) 2023-07-18 09:47:04 +01:00
dnsdisc dnsdisc: backport geth latest version and fixes for go1.20 (#6925) 2023-02-22 08:29:34 +00:00
enode move mdbx to new org (#8061) 2023-08-24 18:00:24 +07:00
enr go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
nat [devnet] separate logging p2p (#7549) 2023-05-19 23:08:45 +01:00
netutil Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rlpx Enable gocritic linter (#5173) 2022-08-25 09:08:56 +07:00
simulations [devnet tool] Separate logging (#7553) 2023-05-20 14:48:16 +01:00
dial_integration_test.go Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
dial_test.go move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
dial.go Enable gosec linter (#5083) 2022-08-17 12:18:19 +07:00
message_test.go p2p: move rlpx into separate package (#21464) 2020-10-06 14:12:09 +02:00
message.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
metrics.go Heimdall metrics + Metrics HTTP server rationalization (#8094) 2023-08-31 09:04:27 +01:00
node_key_config.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
peer_error.go p2p: define DiscReason as uint8 (#4090) 2022-05-06 16:19:53 +01:00
peer_test.go read metrics config from yaml file (#7089) 2023-03-14 00:07:05 +00:00
peer.go Heimdall metrics + Metrics HTTP server rationalization (#8094) 2023-08-31 09:04:27 +01:00
protocol.go Switch peerId from 256 to 512 bit (as in stable) (#3862) 2022-04-10 08:01:25 +01:00
server_test.go [devnet] separate logging - p2p (#7547) 2023-05-19 18:41:53 +01:00
server.go p2p: log NAT ExternalIP error (#8026) 2023-08-22 10:51:00 +02:00
transport_test.go p2p: fix RLPx disconnect message decoding (#8056) 2023-08-24 13:49:19 +02:00
transport.go p2p: fix RLPx disconnect message decoding (#8056) 2023-08-24 13:49:19 +02:00
util_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
util.go Avoiding leaking the popped item (#6193) 2022-12-04 11:17:02 +07:00