docs.rs failed to build ethexe-prometheus-2.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Prometheus integration for the ethexe node.
This crate exposes the metrics endpoint used by the node and keeps a small set of liveness gauges in sync with the contents of the local database. It also acts as a bridge between the HTTP exporter and subsystems that own metrics registries outside of the global recorder, such as libp2p.
[PrometheusService] runs an HTTP server and yields [PrometheusEvent]s to
the parent service. When /metrics is requested, the service:
- refreshes liveness gauges derived from the latest committed MB,
- renders metrics from the global
metricsrecorder, - asks the parent service for extra registry dumps,
- merges everything into a single Prometheus text response.