Skip to content

Files

Latest commit

e68a933 · Jul 4, 2021

History

History
This branch is 6642 commits behind ProvableHQ/snarkOS:staging.

metrics

snarkos-metrics

Crates.io Authors License

Development

To start a local instance of Prometheus for development purposes, run the following command from the current directory:

cd prometheus/{YOUR_OS}
docker build -t prometheus .
docker run -p 9090:9090 --network=host prometheus

Then, start a snarkos mining node to start generating metrics from the root of the repository:

cargo run --bin snarkos

To confirm the Prometheus instance is up, navigate to https://localhost:9090/graph.

Security

To enable access to metrics, open port 9090 on your development or production machine.