TICK and Grafana - dennisholee/notes GitHub Wiki

Tick architecture

  • Telegraf
  • InfluxDB
  • Chronograf
  • Kapacitor

Setup

Docker setup

Prepare configuration files for the respective components.

influxdb/
telegraf/

Define Docker setup.

version: '3' 
services:
  influxdb:
    image: influxdb:latest
    volumes:
    - ./influxdb:/app
    ports:
    - '8088:8088'
    - '8086:8086'
    networks:
    - share_ride_network
    command: ['influxd', '--config', '/app/influxdb.conf']
  telegraf:
    image: telegraf:latest
    volumes:
    - ./telegraf:/app
    networks:
    - share_ride_network
      #    command: ['telegraf', '--config', '/app/telegraf.conf']
  chronograf:
    image: chronograf:latest
    ports:
    - '8888:8888'
    networks:
    - share_ride_network
  grafana:
    image: grafana/grafana
    volumes:
    - ./grafana:/app
    ports:
    - '4000:3000'
    networks:
    - share_ride_network
networks:
  share_ride_network:

Spin up the environment docker-compose up

Grafana

Default credentials

  • Username: admin
  • Password: admin

Register Influx DB

⚠️ **GitHub.com Fallback** ⚠️