Prometheus exporter for Firefly-iii
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chris 40cb9bb845 support SOM 3 months ago
firefly support SOM 3 months ago
.gitignore gitignore pat 4 months ago describe docker 4 months ago support asset account balances 4 months ago
requirements.txt require dateutil 4 months ago

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.