erigon-pulse/tests/erigon-ext-test
milen 28fff1b35e
metrics: remove VictoriaMetrics/metrics lib (#8766)
# 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

- Remove `UsePrometheusClient` boolean flag
- Remove `VictoriaMetrics` client lib and related code (simplifies
registry and prometheus http handler initialisation since now we have
only 1 registry and can use default `promhttp.Handler`)
2023-11-23 20:31:38 +00:00
..
.gitignore tests: test that erigon can be used as a library (#8494) 2023-11-01 11:44:01 +01:00
go.mod fix erigon-ext-test golang error (#8734) 2023-11-15 18:49:10 +07:00
go.mod.template metrics: remove VictoriaMetrics/metrics lib (#8766) 2023-11-23 20:31:38 +00:00
main.go tests: test that erigon can be used as a library (#8494) 2023-11-01 11:44:01 +01:00
test.sh tests: test that erigon can be used as a library (#8494) 2023-11-01 11:44:01 +01:00