Tools and documentation for setting up local Orb analytics.
This guide will enable you to self-host a TIG (Telegraf, InfluxDB, Grafana) analytics stack and configure Orbs to send data to that stack for analysis.
Warning
If you have an existing installation of this repository that is older than February 26, 2026, See the Deprecation Notice for important information.
- You will need an active Orb Cloud account to configure your Orbs for local data analytics
- You will need to have one or more Orb sensors or apps linked to your Orb Cloud account
- You will need a Docker-enabled host for the analytics stack, which can communicate with the Orbs you intend to collect data from.
- Clone this repository on the Docker-enabled host you want to use.
git clone https://github.com/orbforge/orb-local-analytics.git
- Run
python3 configure.pyto generate configs (telegraf.confand Orb Cloud config) - Follow all instructions in the configure.py output to run your selected configuration
- Start services
docker compose up -d- Go to http://localhost:3000 in your browser
- Login with default grafana credentials (
admin/admin) - Setup new password when prompted
- Go to "Dashboards" (in hamburger menu) and open "Orb Metrics Overview" in "Orb Dashboards" folder
- Enjoy the minimal but beautiful dashboard with with data flowing (ideally)
After any changes to telegraf.conf, you only need to restart telegraf for changes to apply.
docker restart telegrafdocker-compose down -v --remove-orphansThe first version of this repository used a TIG stack based on InfluxDB v2. This has worked well for us but required us to write complex queries in a proprietary language. InfluxDB v3 now supports using SQL, meaning we can build charts in Grafana much more quickly and more easily.
Unfortunately, there is no easy path from InfluxDB v2 to InfluxDB v3. Moving to InfluxDB v3 will mean losing your history. You can stay on your current setup for now, but updates will probably be limited to package updates. The code was moved to a influx-v2 branch.
If you want to upgrade your Orb Local Analytics stack and move to Influx DB v3, you can perform the following steps
# stop Orb Local Analytics
docker compose down
# cleanup the old components
docker volume rm orb-local-analytics_influxdb-data
docker container rm influxdb
docker container rm telegraf
# pull the latest version from Github
git pull
# rerun the configuration step to create the updated telegraf pointing at InfluxDB v3
python3 configure.py
# start Orb Local Analytics
docker compose pull
docker compose up -d