prometheus-node-exporter.default 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. # Set the command-line arguments to pass to the server.
  2. # Due to shell scaping, to pass backslashes for regexes, you need to double
  3. # them (\\d for \d). If running under systemd, you need to double them again
  4. # (\\\\d to mean \d), and escape newlines too.
  5. ARGS="--collector.interrupts --collector.ntp --collector.qdisc --no-collector.infiniband --no-collector.ipvs --no-collector.nfs --no-collector.nfsd --no-collector.wifi --no-collector.zfs --no-collector.textfile"
  6. # Prometheus-node-exporter supports the following options:
  7. #
  8. # --collector.diskstats.ignored-devices="^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d+n\\d+p)\\d+$"
  9. # Regexp of devices to ignore for diskstats.
  10. # --collector.filesystem.ignored-mount-points="^/(dev|proc|run|sys|mnt|media|var/lib/docker)($|/)"
  11. # Regexp of mount points to ignore for filesystem
  12. # collector.
  13. # --collector.filesystem.ignored-fs-types="^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$"
  14. # Regexp of filesystem types to ignore for
  15. # filesystem collector.
  16. # --collector.netdev.ignored-devices="^lo$"
  17. # Regexp of net devices to ignore for netdev
  18. # collector.
  19. # --collector.netstat.fields="^(.*_(InErrors|InErrs)|Ip_Forwarding|Ip(6|Ext)_(InOctets|OutOctets)|Icmp6?_(InMsgs|OutMsgs)|TcpExt_(Listen.*|Syncookies.*)|Tcp_(ActiveOpens|PassiveOpens|RetransSegs|CurrEstab)|Udp6?_(InDatagrams|OutDatagrams|NoPorts))$"
  20. # Regexp of fields to return for netstat
  21. # collector.
  22. # --collector.ntp.server="127.0.0.1"
  23. # NTP server to use for ntp collector
  24. # --collector.ntp.protocol-version=4
  25. # NTP protocol version
  26. # --collector.ntp.server-is-local
  27. # Certify that collector.ntp.server address is the
  28. # same local host as this collector.
  29. # --collector.ntp.ip-ttl=1 IP TTL to use while sending NTP query
  30. # --collector.ntp.max-distance=3.46608s
  31. # Max accumulated distance to the root
  32. # --collector.ntp.local-offset-tolerance=1ms
  33. # Offset between local clock and local ntpd time
  34. # to tolerate
  35. # --path.procfs="/proc" procfs mountpoint.
  36. # --path.sysfs="/sys" sysfs mountpoint.
  37. # --collector.qdisc.fixtures=""
  38. # test fixtures to use for qdisc collector
  39. # end-to-end testing
  40. # --collector.runit.servicedir="/etc/service"
  41. # Path to runit service directory.
  42. # --collector.supervisord.url="http://localhost:9001/RPC2"
  43. # XML RPC endpoint.
  44. # --collector.systemd.unit-whitelist=".+"
  45. # Regexp of systemd units to whitelist. Units must
  46. # both match whitelist and not match blacklist to
  47. # be included.
  48. # --collector.systemd.unit-blacklist=".+(\\.device|\\.scope|\\.slice|\\.target)"
  49. # Regexp of systemd units to blacklist. Units must
  50. # both match whitelist and not match blacklist to
  51. # be included.
  52. # --collector.systemd.private
  53. # Establish a private, direct connection to
  54. # systemd without dbus.
  55. # --collector.textfile.directory="/var/lib/prometheus/node-exporter"
  56. # Directory to read text files with metrics from.
  57. # --collector.vmstat.fields="^(oom_kill|pgpg|pswp|pg.*fault).*"
  58. # Regexp of fields to return for vmstat collector.
  59. # --collector.wifi.fixtures=""
  60. # test fixtures to use for wifi collector metrics
  61. # --collector.arp Enable the arp collector (default: enabled).
  62. # --collector.bcache Enable the bcache collector (default: enabled).
  63. # --collector.bonding Enable the bonding collector (default: enabled).
  64. # --collector.buddyinfo Enable the buddyinfo collector (default:
  65. # disabled).
  66. # --collector.conntrack Enable the conntrack collector (default:
  67. # enabled).
  68. # --collector.cpu Enable the cpu collector (default: enabled).
  69. # --collector.diskstats Enable the diskstats collector (default:
  70. # enabled).
  71. # --collector.drbd Enable the drbd collector (default: disabled).
  72. # --collector.edac Enable the edac collector (default: enabled).
  73. # --collector.entropy Enable the entropy collector (default: enabled).
  74. # --collector.filefd Enable the filefd collector (default: enabled).
  75. # --collector.filesystem Enable the filesystem collector (default:
  76. # enabled).
  77. # --collector.hwmon Enable the hwmon collector (default: enabled).
  78. # --collector.infiniband Enable the infiniband collector (default:
  79. # enabled).
  80. # --collector.interrupts Enable the interrupts collector (default:
  81. # disabled).
  82. # --collector.ipvs Enable the ipvs collector (default: enabled).
  83. # --collector.ksmd Enable the ksmd collector (default: disabled).
  84. # --collector.loadavg Enable the loadavg collector (default: enabled).
  85. # --collector.logind Enable the logind collector (default: disabled).
  86. # --collector.mdadm Enable the mdadm collector (default: enabled).
  87. # --collector.meminfo Enable the meminfo collector (default: enabled).
  88. # --collector.meminfo_numa Enable the meminfo_numa collector (default:
  89. # disabled).
  90. # --collector.mountstats Enable the mountstats collector (default:
  91. # disabled).
  92. # --collector.netdev Enable the netdev collector (default: enabled).
  93. # --collector.netstat Enable the netstat collector (default: enabled).
  94. # --collector.nfs Enable the nfs collector (default: enabled).
  95. # --collector.nfsd Enable the nfsd collector (default: enabled).
  96. # --collector.ntp Enable the ntp collector (default: disabled).
  97. # --collector.qdisc Enable the qdisc collector (default: disabled).
  98. # --collector.runit Enable the runit collector (default: disabled).
  99. # --collector.sockstat Enable the sockstat collector (default:
  100. # enabled).
  101. # --collector.stat Enable the stat collector (default: enabled).
  102. # --collector.supervisord Enable the supervisord collector (default:
  103. # disabled).
  104. # --collector.systemd Enable the systemd collector (default: enabled).
  105. # --collector.tcpstat Enable the tcpstat collector (default:
  106. # disabled).
  107. # --collector.textfile Enable the textfile collector (default:
  108. # enabled).
  109. # --collector.time Enable the time collector (default: enabled).
  110. # --collector.uname Enable the uname collector (default: enabled).
  111. # --collector.vmstat Enable the vmstat collector (default: enabled).
  112. # --collector.wifi Enable the wifi collector (default: enabled).
  113. # --collector.xfs Enable the xfs collector (default: enabled).
  114. # --collector.zfs Enable the zfs collector (default: enabled).
  115. # --collector.timex Enable the timex collector (default: enabled).
  116. # --web.listen-address=":9100"
  117. # Address on which to expose metrics and web
  118. # interface.
  119. # --web.telemetry-path="/metrics"
  120. # Path under which to expose metrics.
  121. # --log.level="info" Only log messages with the given severity or
  122. # above. Valid levels: [debug, info, warn, error,
  123. # fatal]
  124. # --log.format="logger:stderr"
  125. # Set the log target and format. Example:
  126. # "logger:syslog?appname=bob&local=7" or
  127. # "logger:stdout?json=true"