daleysoftware / msg-tracker

A service that queries various messaging services to summarize end-user active hours.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Msg Tracker

Overview

Msg Tracker is a service that queries various messaging services to summarize end-user active hours.

Currently supported services:

  • Slack

Other messaging platforms coming Soon^TM.

Usage

Start by setting up your python virtual environment with ./setup.sh. After all the dependencies are installed, run the collector as a service and the reporter periodically, as desired.

Collector

The collector is responsible for querying the messaging endpoint for activity data and placing it into our backing store, redis. To run the collector, use

./tools/collect.sh

Reporter

The reporter prints formatted activity data in the form of time summaries on a per user basis (i.e. it tells you how long a user was logged in during a given time interval). To run the reporter use:

./tools/report.sh

See an example.

Unit Tests

To run unit tests use:

./tools/test.sh

About

A service that queries various messaging services to summarize end-user active hours.

License:MIT License


Languages

Language:Python 98.7%Language:Shell 1.3%