Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 725 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 725 Bytes

influxer

a tiny event tracking proxy for influxdb inspired by tinytracker

running with uwsgi

to run the server:

$ uwsgi --http 127.0.0.1:1337 --module influxer.wsgi:application --master -H /path/to/workspace

writing data to influxer

curl -G "http://127.0.0.1:1337/influx.gif?site=onion&content_id=123&event=pageview&path=/articles/blah-123"

reading data from influxer

pageviews by site

curl -G "http://127.0.0.1:1337/pageviews.json"

pageviews by content id

curl -G "http://127.0.0.1:1337/contentids.json?content_id=123"

trending content

curl -G "http://127.0.0.1:1337/trending.json"