zebra/README.md

45 lines
1.6 KiB
Markdown
Raw Normal View History

2020-02-26 21:13:05 -08:00
![Zebra logotype](https://www.zfnd.org/images/zebra-logotype.png)
2019-10-25 09:48:46 -07:00
![](https://github.com/ZcashFoundation/zebra/workflows/CI/badge.svg) \
2020-04-21 23:39:17 -07:00
[![codecov](https://codecov.io/gh/ZcashFoundation/zebra/branch/main/graph/badge.svg)](https://codecov.io/gh/ZcashFoundation/zebra)
2019-10-25 09:48:46 -07:00
Hello! I am Zebra, an ongoing Rust implementation of a Zcash node.
2020-01-24 14:55:55 -08:00
Zebra is a work in progress. It is developed as a collection of `zebra-*`
libraries implementing the different components of a Zcash node (networking,
chain structures, consensus rules, etc), and a `zebrad` binary which uses them.
2020-02-12 12:40:08 -08:00
Most of our work so far has gone into `zebra-network`, building a new
networking stack for Zcash, and `zebra-chain`, building foundational data
structures.
2020-01-24 14:55:55 -08:00
[Rendered docs from the `main` branch](https://doc.zebra.zfnd.org).
2020-02-12 12:40:08 -08:00
[Join us on Discord](https://discord.gg/na6QZNd).
## License
Zebra is distributed under the terms of both the MIT license
and the Apache License (Version 2.0).
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT).
## Metrics
Notes on local metrics collection:
```
# create a storage volume for grafana (once)
sudo docker volume create grafana-storage
2020-02-14 15:36:05 -08:00
# create a storage volume for prometheus (once)
sudo docker volume create prometheus-storage
# run prometheus with the included config
2020-02-14 15:36:05 -08:00
sudo docker run --network host -v prometheus-storage:/prometheus -v /path/to/zebra/prometheus.yaml:/etc/prometheus/prometheus.yml prom/prometheus
# run grafana
2020-02-14 16:47:00 -08:00
sudo docker run -d --network host -e GF_SERVER_HTTP_PORT=3030 -v grafana-storage:/var/lib/grafana grafana/grafana
2020-02-14 15:36:05 -08:00
```
2020-02-14 16:47:00 -08:00
Now the grafana dashboard is available at http://localhost:3030 ; the default password is admin/admin.