mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
34c0fe29ad
# Background Erigon currently uses a combination of Victoria Metrics and Prometheus client for providing metrics. We want to rationalize this and use only the Prometheus client library, but we want to maintain the simplified Victoria Metrics methods for constructing metrics. This task is currently partly complete and needs to be finished to a stage where we can remove the Victoria Metrics module from the Erigon code base. # Summary of changes - Adds missing `NewCounter`, `NewSummary`, `NewHistogram`, `GetOrCreateHistogram` functions to `erigon-lib/metrics` similar to the interface VictoriaMetrics lib provides - Minor tidy up for consistency inside `erigon-lib/metrics/set.go` around return types (panic vs err consistency for funcs inside the file), error messages, comments - Replace all remaining usages of `github.com/VictoriaMetrics/metrics` with `github.com/ledgerwatch/erigon-lib/metrics` - seamless (only import changes) since interfaces match |
||
---|---|---|
.. | ||
allocs | ||
asm | ||
forkid | ||
rawdb | ||
state | ||
systemcontracts | ||
types | ||
vm | ||
.gitignore | ||
block_builder_parameters.go | ||
block_validator_test.go | ||
block_validator.go | ||
blockchain.go | ||
blocks.go | ||
bor_fee_log.go | ||
chain_makers.go | ||
error.go | ||
events.go | ||
evm.go | ||
gaspool.go | ||
genesis_test.go | ||
genesis_write.go | ||
mkalloc.go | ||
rlp_test.go | ||
skip_analysis.go | ||
state_processor.go | ||
state_transition.go | ||
system_contract_lookup.go | ||
tx_cacher.go |