短描述

Docker Pull 命令

docker pull prom/node-exporter

完整描述

# Node exporter\n\nPrometheus exporter for machine metrics, written in Go with pluggable metric\ncollectors.\n\n## Building and running\n\n make\n .\u002Fnode_exporter \u003Cflags\u003E\n\n## Running tests\n\n make test\n\n## Available collectors\n\nBy default the build will include the native collectors that expose information\nfrom \u002Fproc.\n\nWhich collectors are used is controlled by the `--collectors.enabled` flag.\n\n### Enabled by default\n\nName | Description\n---------|------------\nattributes | Exposes attributes from the configuration file. Deprecated, use textfile module instead.\ndiskstats | Exposes disk I\u002FO statistics from \u002Fproc\u002Fdiskstats.\nfilesystem | Exposes filesystem statistics, such as disk space used.\nloadavg | Exposes load average.\nmeminfo | Exposes memory statistics from \u002Fproc\u002Fmeminfo.\nnetdev | Exposes network interface statistics from \u002Fproc\u002Fnetstat, such as bytes transferred.\nnetstat | Exposes network statistics from \u002Fproc\u002Fnet\u002Fnetstat. This is the same information as `netstat -s`.\nstat | Exposes various statistics from \u002Fproc\u002Fstat. This includes CPU usage, boot time, forks and interrupts.\ntextfile | Exposes statistics read from local disk. The `--collector.textfile.directory` flag must be set.\ntime | Exposes the current system time.\n\n\n### Disabled by default\n\nName | Description\n---------|------------\nbonding | Exposes the number of configured and active slaves of Linux bonding interfaces.\ngmond | Exposes statistics from Ganglia.\ninterrupts | Exposes detailed interrupts statistics from \u002Fproc\u002Finterrupts.\nlastlogin | Exposes the last time there was a login.\nmegacli | Exposes RAID statistics from MegaCLI.\nntp | Exposes time drift from an NTP server.\nrunit | Exposes service status from [runit](http:\u002F\u002Fsmarden.org\u002Frunit\u002F).\n\n## Textfile Collector\n\nThe textfile collector is similar to the [Pushgateway](https:\u002F\u002Fgithub.com\u002Fprometheus\u002Fpushgateway),\nin that it allows exporting of statistics from batch jobs. It can also be used\nto export static metrics, such as what role a machine has. The Pushgateway\nshould be used for service-level metrics. The textfile module is for metrics\nthat are tied to a machine.\n\nTo use set the `--collector.textfile.directory` flag on the Node exporter. The\ncollector will parse all files in that directory matching the glob `*.prom`\nusing the [text\nformat](http:\u002F\u002Fprometheus.io\u002Fdocs\u002Finstrumenting\u002Fexposition_formats\u002F).\n\nTo atomically push completion time for a cron job:\n```\necho my_batch_job_completion_time $(date +%s) \u003E \u002Fpath\u002Fto\u002Fdirectory\u002Fmy_batch_job.prom.$$\nmv \u002Fpath\u002Fto\u002Fdirectory\u002Fmy_batch_job.prom.$$ \u002Fpath\u002Fto\u002Fdirectory\u002Fmy_batch_job.prom\n```\n\nTo statically set roles for a machine using labels:\n```\necho 'role{role="application_server"} 1' \u003E \u002Fpath\u002Fto\u002Fdirectory\u002Frole.prom.$$\nmv \u002Fpath\u002Fto\u002Fdirectory\u002Frole.prom.$$ \u002Fpath\u002Fto\u002Fdirectory\u002Frole.prom\n```\n
版本名称 创建时间 最后更新时间
lastest 2018年5月15日 23:58 2018年5月15日 23:58
No Dockerfiles