snarkos-metrics 1.3.4

Metrics for a decentralized operating system
Documentation

snarkos-metrics

Crates.io Authors License

Development

To start a local instance of Prometheus for development purposes, run:

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

Then, to start snarkos-metrics on its own, run:

cargo run

To confirm the snarkos-metrics instance is up, navigate to https://localhost:8080/metrics.

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

Security

To enable access to metrics, open ports 8080 and 9090 on your development or production machine.