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

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.

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值