Prometheus exporter for Firefly-iii
Go to file
chris 7d8087f3d0 up reqs 2022-07-04 14:47:57 +02:00
firefly fix transaction query 2021-09-21 14:19:40 +02:00
.gitignore gitignore pat 2020-10-26 10:42:20 +01:00 describe docker 2020-10-25 18:11:48 +01:00 support asset account balances 2020-10-25 21:02:18 +01:00
requirements.txt up reqs 2022-07-04 14:47:57 +02:00

Budget Exporter

Export Firefly-iii budget data for prometheus consumption.


Install Flask and requests in your python environment:

pip install -r requirements.txt

Create a personal access token in your firefly installation:

Go to https://your-firefly-installation/profile , create a token and copy the (very long) string.

Put your personal access token and your API host in your environment:

export FIREFLY_PERSONAL_ACCESS_TOKEN="abcd.....1234"
export FIREFLY_API_HOST="https://your-firefly-installation"

Run the exporter: python -m flask run -h -p 5000

Now scrape /metrics on port localhost:5000.


Or use the prebuilt docker image:

docker run -e FIREFLY_API_HOST="https://your-firefly-installation" -e FIREFLY_PERSONAL_ACCESS_TOKEN="abcd....1234" -p 9449:5000 zknt/firefly-exporter

and scrape port 9449 on your docker host.