2015-07-28 11:11:20 -07:00
|
|
|
(note: this is a temporary file, to be added-to by anybody, and moved to
|
|
|
|
release-notes at release time)
|
|
|
|
|
|
|
|
Notable changes
|
|
|
|
===============
|
|
|
|
|
2021-01-06 12:41:42 -08:00
|
|
|
Prometheus metrics
|
|
|
|
------------------
|
|
|
|
|
|
|
|
`zcashd` can now be configured to optionally expose an HTTP server that acts as
|
|
|
|
a Prometheus scrape endpoint. The server will respond to `GET` requests on any
|
|
|
|
request path.
|
|
|
|
|
2021-01-06 21:30:28 -08:00
|
|
|
To enable the endpoint, add `-prometheusport=<port>` to your `zcashd`
|
|
|
|
configuration (either in `zcash.conf` or on the command line). After
|
2021-01-06 12:41:42 -08:00
|
|
|
restarting `zcashd` you can then test the endpoint by querying it with e.g.
|
2021-01-06 21:30:28 -08:00
|
|
|
`curl http://127.0.0.1:<port>`.
|
|
|
|
|
|
|
|
By default, access is restricted to localhost. This can be expanded with
|
|
|
|
`-metricsallowip=<ip>`, which can specify IPs or subnets. Note that HTTPS is not
|
|
|
|
supported, and therefore connections to the endpoint are not encrypted or
|
|
|
|
authenticated. Access to the endpoint should be assumed to compromise the
|
|
|
|
privacy of node operations, by the provided metrics and/or by timing side
|
|
|
|
channels. Non-localhost access is **strongly discouraged** if the node has a
|
|
|
|
wallet holding live funds.
|
2021-01-06 13:03:47 -08:00
|
|
|
|
|
|
|
The specific metrics names may change in subsequent releases, in particular to
|
|
|
|
improve interoperability with `zebrad`.
|