Skip to main content

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

Replacement Patterns

To have HIVE-{uuid} application name instead of many unique names:

  1. Put replacement\npattern\n lines to patterns.txt file:
{uuid}
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
  1. Specify --patterns argument:
yarn-apps-exporter http://resource.manager.hostname:8088 --patterns patterns.txt

You can add more patterns in the next lines.

Metadata

Release files for yarn-apps-exporter 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yarn-apps-exporter 0.0.5
File Size Uploaded Provenance Actions
yarn-apps-exporter-0.0.5.tar.gz 3.4 kB Without provenance Details for yarn-apps-exporter-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yarn-apps-exporter 0.0.5
File Interpreter ABI Platform Actions
yarn_apps_exporter-0.0.5-py3-none-any.whl Python 3 none any Details for yarn_apps_exporter-0.0.5-py3-none-any.whl

Total release size: 7.3 kB

Release files / yarn-apps-exporter-0.0.5.tar.gz

Download URL yarn-apps-exporter-0.0.5.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4fc5642a2b8aa838ba7a75e589c101dfb300f5d08d614721b00129e0935cd43f
BLAKE2b-256 checksum
How to use checksums
89a5101c89a29b3dae4573b4560e10eca2e12deb791e562518345a151a2db1b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / yarn_apps_exporter-0.0.5-py3-none-any.whl

Download URL yarn_apps_exporter-0.0.5-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
daa4c324c000e14609d34e0a25df0b759b38231eb2d8937b4e129aa85d7c1243
BLAKE2b-256 checksum
How to use checksums
a8180fc394713b621b81e3006a6fd3bf7e3d11c8394a84c231cacad5daec30bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Security for yarn-apps-exporter 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page