prometheus_exporter
Prometheus Exporter
All options
| Name | Type | Description | Default |
|---|---|---|---|
| service_name | String | The name of this service | nq_18515 |
| help | Integer (unsigned) | Print this help | |
| threads | Integer (unsigned) | Number of worker threads to spawn (zero means the number of available CPUs) | |
| debug | Integer (unsigned) | Start in REPL mode | |
| shell | Integer (unsigned) | Start in REPL-only shell mode (no server) | |
| inspect | Integer (unsigned) | Start with the Node.js debugger active | |
| print_config | Integer (unsigned) | Print the configuration | |
| run | String | Execute the specified script file (blank to disable) | |
| list | Integer (unsigned) | List available script files | |
| sockets_dir | String | Base directory for IPC sockets | ${sockets_dir} |
| instancekey | String | The key of the MarketGrid instance to connect to (leave blank to use the default) | |
| base_port | Integer (unsigned) | The base port for this MarketGrid instance | |
| transaction_socket | String | The address of the raw transaction queue. Example for tserver raw tcp: tcp://0.0.0.0:11200. Engine transaction queue ipc: ipc:///opt/MarketGrid/var/sockets/mg_11000_transaction_queue_12001. Leave blank for a local IPC connection. | |
| blob_socket | String | The address of the blob transaction queue. Example for tserver raw tcp: tcp://0.0.0.0:11600. Engine transaction queue ipc: ipc:///opt/MarketGrid/var/sockets/mg_11000_blob_queue_12009. Leave blank for a local IPC connection. | |
| mdb_connections | String | Comma-separated list of MDB processes to connect to, in the form (process_name:hostname:port). Leave blank to skip connecting to any MDB processes. | |
| timeout | Integer (unsigned) | Timeout (in seconds) after which to abort startup if no upstream connection was achieved. It has the following special values: 0 => Wait forever to connect upstream (no timeout set) -1 => Disable waiting for transaction server (only connect to shared memory) N.B. Not used after startup e.g. when connections are lost. | |
| offline | Integer (unsigned) | Do not attach to shared memory or connect to a transaction server. Most functions will be unavailable. | |
| environment | String | A string identifying this environment (e.g. DEV, UAT, PROD) | DEV |
| healthcheck_port | Integer (unsigned) | Port on which to listen for HTTP healthcheck pings. (0 to disable) | |
| system_private_key | String | Path to a private key used for generating JWTs for system users | ${etc_dir}/marketgrid.key |
| quiet | Integer (unsigned) | Suppress informational logging messages | |
| verbose | Integer (unsigned) | Output debug log messages | |
| colour | Integer (unsigned) | Whether or not to colourise log output (default true) | |
| trace_api | String | Path to which to trace API messages (blank to disable) | |
| trace_ws | String | Path to which to trace WebSocket messages (blank to disable) | |
| trace_ws_filter | String | Filter WebSocket message trace output by message class name (empty for no filter) | |
| trace_rest | String | Path to which to trace REST messages (blank to disable) | |
| trace_mdb | String | Path to which to trace MDB queries (blank to disable) | |
| export_metrics | Integer (unsigned) | Determines if metrics should be exported to the run directory | |
| export_metrics_interval | Integer (unsigned) | How often (in milliseconds) metrics will be exported to the run directory. Has no effect if --export_metrics is false | |
| no_abi_check | Integer (unsigned) | Don't check the build ABI checksum against the running system (dangerous!) |