Export basic Hadoop YARN metrics in Prometheus format.
2.5K
Source can be found at https://github.com/PBWebMedia/yarn-prometheus-exporter
The exporter can be configured using environment variables. These are the defaults:
YARN_PROMETHEUS_LISTEN_ADDR=:9113
YARN_PROMETHEUS_ENDPOINT_SCHEME=http
YARN_PROMETHEUS_ENDPOINT_HOST=localhost
YARN_PROMETHEUS_ENDPOINT_PORT=8088
If you run kerberized cluster, you can add support via next environment variables:
YARN_KERBEROS_CONFIG=/etc/krb5.conf
YARN_KERBEROS_KEYTAB=/path/to/file.keytab
YARN_KERBEROS_PRINCIPAL=username@real
Run using docker:
docker run -p 9113:9113 pbweb/yarn-prometheus-exporter
Or using docker-compose:
services:
image: pbweb/yarn-prometheus-exporter
restart: always
environment:
- "YARN_PROMETHEUS_ENDPOINT_HOST=yarn.hadoop.lan"
ports:
- "9113:9113"
Content type
Image
Digest
sha256:823a05117…
Size
3.6 MB
Last updated
over 1 year ago
docker pull pbweb/yarn-prometheus-exporter