OS Manuals

/usr/bin/prometheus-nats-exporter

A Prometheus exporter for NATS metrics (FIPS variant)

From prometheus-nats-exporter-fips 0.20.3-r0 (enterprise-packages), captured 2026-11-08 by running prometheus-nats-exporter --help (exit 0). permalink

Usage of /usr/bin/prometheus-nats-exporter:
  -D	Enable debug log level.
  -DV
    	Enable debug and trace log levels.
  -V	Enable trace log level.
  -a string
    	Network host to listen on. (default "0.0.0.0")
  -accountz
    	Get account details metrics.
  -accstatz
    	Get accstatz metrics.
  -addr string
    	Network host to listen on. (default "0.0.0.0")
  -connz
    	Get connection metrics.
  -connz_detailed connz
    	Get detailed connection metrics for each client. Enables flag connz implicitly.
  -gatewayz
    	Get gateway metrics.
  -healthz
    	Get health metrics.
  -healthz_js_enabled_only
    	Get health metrics with js-enabled-only=true.
  -healthz_js_server_only
    	Get health metrics with js-server-only=true.
  -http_pass string
    	Set the password for HTTP scrapes. NATS bcrypt supported.
  -http_user string
    	Enable basic auth and set user name for HTTP scrapes.
  -jsz string
    	Select JetStream metrics to filter (e.g streams, accounts, consumers)
  -jsz_consumer_meta_keys string
    	Select JetStream consumer metadata to output (comma separated)
  -jsz_stream_meta_keys string
    	Select JetStream stream metadata to output (comma separated)
  -l string
    	Log file name.
  -leafz
    	Get leaf metrics.
  -log string
    	Log file name.
  -p int
    	Port to listen on. (default 7777)
  -path string
    	URL path from which to serve scrapes. (default "/metrics")
  -port int
    	Port to listen on. (default 7777)
  -prefix string
    	Replace the default prefix for all the metrics.
  -r string
    	Remote syslog address to write log statements.
  -remote_syslog string
    	Write log statements to a remote syslog.
  -ri int
    	Interval in seconds to retry NATS Server monitor URL. (default 30)
  -routez
    	Get route metrics.
  -s	Write log statements to the syslog.
  -subz
    	Get subscription metrics.
  -syslog
    	Write log statements to the syslog.
  -tlscacert string
    	Client certificate CA for verification (used with HTTPS).
  -tlscert string
    	Server certificate file (Enables HTTPS).
  -tlskey string
    	Private key for server certificate (used with HTTPS).
  -use_internal_server_id
    	Enables using ServerID from /varz
  -use_internal_server_name
    	Enables using ServerName from /varz
  -varz
    	Get general metrics.
  -version
    	Show exporter version and exit.
Options (39)
OptionDescriptionSource
-DEnable debug log level.help
-DVEnable debug and trace log levels.help
-VEnable trace log level.help
-a stringNetwork host to listen on.help
-accountzGet account details metrics.help
-accstatzGet accstatz metrics.help
-addr stringNetwork host to listen on.help
-connzGet connection metrics.help
-connz_detailed connzGet detailed connection metrics for each client.help
-gatewayzGet gateway metrics.help
-healthzGet health metrics.help
-healthz_js_enabled_onlyGet health metrics with js-enabled-only=true.help
-healthz_js_server_onlyGet health metrics with js-server-only=true.help
-http_pass stringSet the password for HTTP scrapes.help
-http_user stringEnable basic auth and set user name for HTTP scrapes.help
-jsz stringSelect JetStream metrics to filter (e.g streams, accounts, consumers)help
-jsz_consumer_meta_keys stringSelect JetStream consumer metadata to output (comma separated)help
-jsz_stream_meta_keys stringSelect JetStream stream metadata to output (comma separated)help
-l stringLog file name.help
-leafzGet leaf metrics.help
-log stringLog file name.help
-p intPort to listen on.help
-path stringURL path from which to serve scrapes.help
-port intPort to listen on.help
-prefix stringReplace the default prefix for all the metrics.help
-r stringRemote syslog address to write log statements.help
-remote_syslog stringWrite log statements to a remote syslog.help
-ri intInterval in seconds to retry NATS Server monitor URL.help
-routezGet route metrics.help
-sWrite log statements to the syslog.help
-subzGet subscription metrics.help
-syslogWrite log statements to the syslog.help
-tlscacert stringClient certificate CA for verification (used with HTTPS).help
-tlscert stringServer certificate file (Enables HTTPS).help
-tlskey stringPrivate key for server certificate (used with HTTPS).help
-use_internal_server_idEnables using ServerID from /varzhelp
-use_internal_server_nameEnables using ServerName from /varzhelp
-varzGet general metrics.help
-versionShow exporter version and exit.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.