Add initial metrics for Prometheus (#18)

* Add metrics for Prometheus
This commit is contained in:
Sydhds
2025-07-15 11:51:27 +02:00
committed by GitHub
parent 6a7bb3ac0e
commit 471dd9a24f
15 changed files with 568 additions and 9 deletions

View File

@@ -5,9 +5,17 @@
* docker build --progress=plain --no-cache -t prover .
* sudo docker run -p 50051:50051 prover --mock-sc true --mock-user mock/mock_user_1.json
## Run
## Run prover
RUST_LOG=debug cargo run -- -i 127.0.0.1 -r "wss://eth-mainnet.g.alchemy.com/v2/__MY_TOKEN__"
RUST_LOG=debug cargo run -p prover_cli -- -i 127.0.0.1 -r "wss://eth-mainnet.g.alchemy.com/v2/__MY_TOKEN__"
## Run prover + Mock
RUST_LOG=debug cargo run -p prover_cli -- -i 127.0.0.1 --metrics-ip 127.0.0.1 --mock-sc true --mock-user mock/mock_user_1.json
## Run prover client (for tests)
RUST_LOG=debug cargo run -p prover_client
## Debug