mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 01:47:55 +00:00
be8e626806
We currently use a bit of a hack in `.cargo/config` to make sure that clippy isn't too annoying by specifying the list of lints. There is now a stable way to define lints for a workspace. The only down side is that every crate seems to have to opt into this so there's a *few* files modified in this PR. Dependencies: - [x] PR that upgrades CI to use rust 1.74 is merged. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Substrate Prometheus Exporter
Introduction
Prometheus is one of the most widely used monitoring tools for managing highly available services supported by Cloud Native Computing Foundation. By providing Prometheus metrics in Substrate, node operators can easily adopt widely used display/alert tools such as Grafana and Alertmanager. Easy access to such monitoring tools will benefit parachain developers/operators and validators to have much higher availability of their services.
Metrics will be served under /metrics on TCP port 9615 by default.
Quick Start
-
From the root of the repository start Substrate
cargo run --release. -
In another terminal run
curl localhost:9615/metricsto retrieve the metrics.
To learn how to configure Prometheus see the Prometheus Getting Started guide.