erigon-pulse/turbo
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
..
adapter Add parentBeaconBlockRoot to RPCMarshalHeader (EIP-4788) (#7997) 2023-08-11 10:26:44 +02:00
app add flag --force.partial.commit: to workaround problem "start from backup takes long time and can't save partial progress" (#8090) 2023-08-30 08:49:16 +07:00
backup move mdbx to new org (#8061) 2023-08-24 18:00:24 +07:00
builder Fix CopyTxs for BlobTxWrapper (EIP-4844) (#8002) 2023-08-11 20:30:02 +02:00
cli add flag --force.partial.commit: to workaround problem "start from backup takes long time and can't save partial progress" (#8090) 2023-08-30 08:49:16 +07:00
cmdtest move all packages from "internal" folder - to simplify users live (#5857) 2022-10-25 09:58:25 +07:00
debug Heimdall metrics + Metrics HTTP server rationalization (#8094) 2023-08-31 09:04:27 +01:00
engineapi Added ranges to the Execution.proto (#8081) 2023-08-26 02:25:48 +02:00
execution/eth1 Added ranges to the Execution.proto (#8081) 2023-08-26 02:25:48 +02:00
jsonrpc Move ApplyDAOHardFork & UpgradeBuildInSystemContract to engine.Initialize (#8095) 2023-08-30 15:51:19 +02:00
logging added --log.dir.prefix flag (#7714) 2023-06-12 15:30:05 +01:00
mock reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
node Support for --chain=holesky (#8064) 2023-08-26 16:31:29 +06:00
rlphacks Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rpchelper Removed GRPC layer from Engine API (#7878) 2023-07-12 18:11:41 +02:00
services Snapshots of Bor events (#7901) 2023-08-18 17:10:35 +01:00
shards Heimdall metrics + Metrics HTTP server rationalization (#8094) 2023-08-31 09:04:27 +01:00
snapshotsync Bor snapshot block production (#8065) 2023-08-30 08:06:09 +01:00
stages Bor snapshot block production (#8065) 2023-08-30 08:06:09 +01:00
testlog Introduce logger into etl (#7537) 2023-05-18 21:20:07 +01:00
transactions Move ApplyDAOHardFork & UpgradeBuildInSystemContract to engine.Initialize (#8095) 2023-08-30 15:51:19 +02:00
trie [devnet tool] Side-quest logging - replace quiet parameter (#7464) 2023-05-08 17:52:31 +01:00
README.md Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00

Erigon-API

Erigon-API is a set of tools for building applications containing Erigon node.

Our own binary erigon is built using it.

Modules

  • cli - erigon-cli, methods & helpers to run a CLI app with Erigon node.

  • node - represents an Ethereum node, running devp2p and sync and writing state to the database.

  • stagedsync - staged sync algorithm.

Examples

  • erigon - our binary is using erigon-api with all defaults

  • erigoncustom - a very simple example of adding a custom stage, a custom bucket and a custom command-line parameter

  • erigon-examples - a series of examples for Erigon api