mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-08 20:38:04 +00:00
0cc3b96076
* client/service/src/builder.rs: Add build_info metric Add static Prometheus metric exposing the chain name, the version and the commit. * client/service/src/builder.rs: Move node_role to static metrics The Prometheus metrics `node_role` is static and thus there is no need to keep a reference of it within `ServiceMetrics`. This follows the example of the `build_info` metric. * client/service/src/builder.rs: Adjust indentation