Git Product home page Git Product logo

abqtransit_influxdb2's Introduction

Albuquerque Bus System Monitoring with InfluxDB 2.0

This repository contains a simple setup to log and monitor ABQ transit data in real-time.

See also: abqtransit

screenshot

How to run:

Note: InfluxDB data will be stored in the influxdb-data folder by default. Configure this location in docker-compose.yml

  1. Check the docker-compose.yml for path configuration options.
  2. Stand-up influxdb:
docker-compose up -d influxdb
  1. Setup InfluxDB with a user, org, and bucket. The telegraf config expects: org=tauterra, bucket=abqtransit.
  2. Create a token with write permissions to the abqtransit bucket. Make note of this token.
  3. Paste the token in docker-compose.yml under services/telegraf/environment/INFLUX_TOKEN.
  4. Start remaining containers:
docker-compose up -d abq_transit_proxy
docker-compose up -d telegraf

Development notes

If you change Python code in abq_transit_proxy:

docker-compose build abq_transit_proxy && docker-compose up -d --force-recreate abq_transit_proxy

If you change the Token:

docker-compose up -d --force-recreate telegraf

abqtransit_influxdb2's People

Contributors

nf1198 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.