[013]操作系统原理系列 | mongodb-exporter属性

  • Post author:
  • Post category:其他


Usage of /mongodb_exporter:
  -alsologtostderr
    	log to standard error as well as files
  -groups.enabled string
    	Comma-separated list of groups to use, for more info see: docs.mongodb.org/manual/reference/command/serverStatus/ (default "asserts,durability,background_flushing,connections,extra_info,global_lock,index_counters,network,op_counters,op_counters_repl,memory,locks,metrics")
  -log_backtrace_at value
    	when logging hits line file:N, emit a stack trace
  -log_dir string
    	If non-empty, write log files in this directory
  -logtostderr
    	log to standard error instead of files
  -mongodb.tls
    	Enable tls connection with mongo server
  -mongodb.tls-ca string
    	Path to PEM file that conains the CAs that are trused for server connections.
    	If provided: MongoDB servers connecting to should present a certificate signed by one of this CAs.
    	If not provided: System default CAs are used.
  -mongodb.tls-cert string
    	Path to PEM file that conains the certificate (and opionally also the private key in PEM format).
    	This should include the whole certificate chain.
    	If provided: The connection will be opened via TLS to the MongoDB server.
  -mongodb.tls-disable-hostname-validation
    	Do hostname validation for server connection.
  -mongodb.tls-private-key string
    	Path to PEM file that conains the private key (if not contained in mongodb.tls-cert file).
  -mongodb.uri string
    	Mongodb URI, format: [mongodb://][user:pass@]host1[:port1][,host2[:port2],...][/database][?options] (default "mongodb://localhost:27017")
  -stderrthreshold value
    	logs at or above this threshold go to stderr
  -v value
    	log level for V logs
  -version
    	Print version info and exit.
  -vmodule value
    	comma-separated list of pattern=N settings for file-filtered logging
  -web.auth-file string
    	Path to YAML file with server_user, server_password options for http basic auth (overrides HTTP_AUTH env var).
  -web.listen-address string
    	Address on which to expose metrics and web interface. (default ":9104")
  -web.metrics-path string
    	Path under which to expose metrics. (default "/metrics")
  -web.ssl-cert-file string
    	Path to SSL certificate file.
  -web.ssl-key-file string
    	Path to SSL key file.



版权声明:本文为weixin_41593408原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。