Skip to content

orbforge/orb-local-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orb-local-analytics

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.

Pre-Reqs

  1. You will need an active Orb Cloud account to configure your Orbs for local data analytics
  2. You will need to have one or more Orb sensors or apps linked to your Orb Cloud account
  3. You will need a Docker-enabled host for the analytics stack, which can communicate with the Orbs you intend to collect data from.

Configuration

  1. Run ./configure.py to generate configs (telegraf.conf and Orb Cloud config)
  2. Follow all instructions in the configure.py output to run your selected configuration

Setup

  1. Start services
docker-compose up -d
  1. Go to http://localhost:3000 in your browser
  2. Login with default grafana credentials (admin / admin)
  3. Setup new password when prompted
  4. Go to "Dashboards" (in hamburger menu) and open "Orb Metrics Overview" in "Orb Dashboards" folder
  5. Enjoy the minimal but beautiful dashboard with with data flowing (ideally)

Restart Telegraf

After any changes to telegraf.conf, you only need to restart telegraf for changes to apply.

docker restart telegraf

Tear down

docker-compose down -v --remove-orphans

About

Tools and documentation for setting up local Orb Analytics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages