Package Exports
- substreams-sink-prometheus
- substreams-sink-prometheus/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (substreams-sink-prometheus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Substreams
Prometheus CLI Node.js
substreams-sink-prometheus
is a tool that allows developers to pipe data extracted metrics from a blockchain into a Prometheus time series database.
📖 Documentation
https://www.npmjs.com/package/substreams-sink-prometheus
Further resources
Protobuf
CLI
- MacOS
- Linux
- Windows
Install globally via npm
$ npm install -g substreams-sink-prometheus
Run
$ substreams-sink-prometheus run [options] <spkg>
Open the browser at http://localhost:9102/metrics
Features
- Consume
*.spkg
from:- Load URL or IPFS
- Read from
*.spkg
local filesystem - Read from
substreams.yaml
local filesystem
- Prometheus metrics
- Handle
cursor
restart