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-prometheusis 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-prometheusRun
$ substreams-sink-prometheus run [options] <spkg>Open the browser at http://localhost:9102/metrics
Features
- Consume
*.spkgfrom:- Load URL or IPFS
- Read from
*.spkglocal filesystem - Read from
substreams.yamllocal filesystem
- Prometheus metrics
- Handle
cursoron restart (savescursor.lockfile on disk)