git clone https://github.com/ashleykleynhans/runpod-general-prometheus-textfile-exporter.git
cd runpod-general-prometheus-textfile-exporter
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp config.yml.example config.yml
- Edit config.yml
- Ensure that
textfile_path
is pointing to the correct path for your Prometheus Text File exporter directory. - Replace
YOUR_RUNPOD_API_KEY
with your RunPod API key.
Create a cron job that runs the script runpod_exporter_cron.sh
at your preferred interval.
Pull requests and issues on GitHub are welcome. Bug fixes and new features are encouraged.