Skip to content

help command starts the prometheus exporter #37

@xsb

Description

@xsb

I realized that the --help flag does not avoid the daemon from starting.

./lndmon --help
Usage:
  lndmon [OPTIONS]

prometheus:
      --prometheus.listenaddr=                       the interface we should listen on for prometheus (default: localhost:9092)
      --prometheus.logdir=                           Directory to log output (default: /Users/xavi/Library/Application Support/Lndmon/logs)
      --prometheus.maxlogfiles=                      Maximum log files to keep (0 for no rotation) (default: 3)
      --prometheus.maxlogfilesize=                   Maximum log file size in MB (default: 10)

lnd:
      --lnd.host=                                    lnd instance rpc address (default: localhost:10009)
      --lnd.network=[regtest|testnet|mainnet|simnet] network to run on (default: mainnet)
      --lnd.macaroondir=                             Path to lnd macaroons
      --lnd.tlspath=                                 Path to lnd tls certificate

Help Options:
  -h, --help                                         Show this help message

2019-08-06 11:23:38.387 [INF] LNDMON: Starting Prometheus exporter...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions