NOTE: This is a fork of https://github.com/fahlke/namenode_exporter, in addition to the original repo, this repo provides:
- Pre-built binaries
- Docker images
Prometheus exporter for hardware and OS metrics exposed by JXM, written in Go.
Metric | Meaning | Labels |
---|---|---|
namenode_up | Could the namenode be reached | |
namenode_uptime_seconds | Number of seconds since the namenode started | |
... | ... |
make
./namenode_exporter <flags>
make test
To see all available configuration flags:
./namenode_exporter --help
namenode.jmx.url
: Namenode JMX URL. (default "http://localhost:50070/jmx")namenode.jmx.timeout
: Timeout reading from namenode JMX url. (default 5s)namenode.pid-file
: Optional path to a file containing the namenode PID for additional metrics.web.listen-address
: Address to listen on for web interface and telemetry. (default ":9779")web.telemetry-path
: Path under which to expose metrics. (default "/metrics")log.format
: Set the log target and format. Example: "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true" (default "logger:stderr")log.level
: Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]version
: Print version information.
TODO(fahlke): Add some useful PromQL queries to showcase the namenode_exporter
You can deploy this exporter using the Docker image from following registry: