Skip to content

Sample Listener and event processor prepared for HackZurich16, requires the astoklas/HackZurich16 github project

Notifications You must be signed in to change notification settings

astoklas/HackZurich16-Listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HackZurich16-Listener

##Overview Example listener to process messages from the rabbitmq used in HackZurich16. This example reads the data from the rabbitMQ, does a simple transformation and writes the data into an influx time series database. Grafana has been chosen for a simple visualization of values over time. influxdb and grafana are from the official repository. The listener is written in python and dockerized based on a python:2.7-slim official image with all required packages.

##Quick Start Make sure to have the HackZurich16 project running first.
Adapt env variable in docker-compose for the rabbitmq to the IP hosting the rabbitmq! docker-compose build (only required first time) docker-compose up

to shut down use docker-compose down

scaling with any of the tiers has not been tested!

Configuration

Grafana

Head over to the grafana board (running on port 15002), user:admin admin:C1sco123(default, change with env variable) Add datasource influx db (http://198.18.134.28:8086, proxy-access, no auth, add db HackZurich16 with root/root)

addDB

Add dashboard
add Dashboard

Add a Panel
add Panel

Adding Graphs, selecting DB and measurement HackZurich16. Maybe you need to wait a short period of time until all available fields have been populated.
add Graph 1
add Graph 2

Result
Result

Influxdb

tbd

About

Sample Listener and event processor prepared for HackZurich16, requires the astoklas/HackZurich16 github project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages