Registry / observability / substrate-prometheus-endpoint

substrate-prometheus-endpoint

JSON →
library0.17.7rscratesunverified

Endpoint to expose Prometheus metrics in Substrate-based blockchains.

# Cargo.toml [dependencies] substrate-prometheus-endpoint = "0.17.7"
INSTALL
IMPORT
SIG · SUBSTRATE-PROMETHE
S
substrate-prometheus-endpoint
observabilityrustv0.17.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PrometheusEndpoint
use substrate_prometheus_endpoint::PrometheusEndpoint;

Creates a Prometheus metrics endpoint.

use substrate_prometheus_endpoint::PrometheusEndpoint; let endpoint = PrometheusEndpoint::new();
Debug
Known issues
gotchaRequires Substrate runtime environment.
fix
Use only within a Substrate node or runtime.
affects: *
Upgrade
Version history
0.17.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
OpenAI (training)
1
Resources
substrate-prometheus-endpoint — cargo add substrate-prometheus-endpoint · libregistry