Skip to content

Releases: pinax-network/substreams-sink-prometheus

v0.7.3

14 Jul 14:53
Compare
Choose a tag to compare
  • Added binary generation

v0.7.2

12 Jul 02:12
Compare
Choose a tag to compare
  • fix prometheus registry error message

v0.7.1

11 Jul 21:17
Compare
Choose a tag to compare
  • Updated to latest substreams-sink package

v0.7.0

11 Jul 19:03
Compare
Choose a tag to compare
  • Updated to latest substreams-sink package

v0.6.0

11 Jul 02:53
Compare
Choose a tag to compare
  • update to latest @substreams/core package
  • update to latest substreams-sink package

v0.5.2

05 Jun 14:06
Compare
Choose a tag to compare
  • Updated substreams-sink version

v0.5.1

05 Jun 13:38
Compare
Choose a tag to compare
  • Fixed logger (now using: tslog)

v0.5.0

15 May 23:39
Compare
Choose a tag to compare

v0.4.7

05 May 20:35
Compare
Choose a tag to compare

Features in v0.4.7

v0.4.5

28 Apr 16:41
Compare
Choose a tag to compare

Features

  • add setDefaultLabels function
  • add --labels [...string] CLI flag
  • add --collect-default-metrics <boolean> CLI flag

CLI changes

  -l --labels [...string]                 To apply generic labels to all default metrics (ex:
                                          --labels foo=bar) (default: {})
  --collect-default-metrics <boolean>     Collect default metrics (default: true)

Help

Usage: substreams-sink-prometheus run [options] [<manifest>] <module_name>

Substreams Prometheus sink module

Arguments:
  <manifest>                              URL or IPFS hash of Substreams package
  module_name                             Name of the output module (declared in the
                                          manifest)

Options:
  -e --substreams-endpoint <string>       Substreams gRPC endpoint to stream data from
                                          (default:
                                          "https://mainnet.eth.streamingfast.io:443")
  -s --start-block <int>                  Start block to stream from (defaults to -1, which
                                          means the initialBlock of the first module you are
                                          streaming)
  -t --stop-block <string>                Stop block to end stream at, inclusively
  --substreams-api-token <string>         API token for the substream endpoint
  --substreams-api-token-envvar <string>  Environnement variable name of the API token for
                                          the substream endpoint (default:
                                          "SUBSTREAMS_API_TOKEN")
  --delay-before-start <int>              [OPERATOR] Amount of time in milliseconds (ms) to
                                          wait before starting any internal processes, can be
                                          used to perform to maintenance on the pod before
                                          actually letting it starts (default: "0")
  --cursor-file <string>                  cursor lock file (default: "cursor.lock")
  --production-mode <bool>                Enable Production Mode, with high-speed parallel
                                          processing (default: true)
  -p --port <int>                         Listens on port number. (default: "9102")
  -a --address <string>                   Prometheus address to connect. (default:
                                          "localhost")
  -l --labels [...string]                 To apply generic labels to all default metrics (ex:
                                          --labels foo=bar) (default: {})
  --collect-default-metrics <boolean>     Collect default metrics (default: true)
  -h, --help                              display help for command