Write YARN apps metrics for node_exporter textfile
Project description
YARN Apps Exporter
Write YARN applications metrics for prometheus node_exporter textfile collector.
Install
sudo pip install yarn-apps-exporter
Check that it runs correctly:
sudo yarn-apps-exporter http://resource.manager.hostname:8088
cat /opt/prometheus/exporters/node_exporter_current/yarn_apps.prom
Add systemd service:
sudo tee /etc/systemd/system/yarn-apps-exporter.service << EOF
[Unit]
Description=Write YARN apps metrics for node_exporter textfile
[Service]
ExecStart=/usr/local/bin/yarn-apps-exporter http://resource.manager.hostname:8088
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl start yarn-apps-exporter
sudo systemctl enable yarn-apps-exporter
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for yarn_apps_exporter-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35b1c841af6fe9fc2694df9040e94a1c2a2c3e4f9ac3751f7e8c9e860ce8ad7e |
|
MD5 | a8feb2c04bb561b2b946970f4f99c9b8 |
|
BLAKE2b-256 | 7a337e2adaf01bcdd85d36d7e53932dfeb2a5a3063794ed8faa2b28ad480b385 |