Giter VIP home page Giter VIP logo

interruption-tracker's Introduction

Interruption Tracker

It takes up to 20 minutes to re-focus again after you're interrupted.

You're a developer and you're getting interrupted all the time? Use Interruption Tracker to track your interruptions during the day. Make it visible - Change it.

About

This tool can track your interruptions during the day. It's anonymous. Every user will get a unique ID which will be stored as a browser cookie. As long as you use the same browser the ID stays the same.

screenshot.png

Every button click will insert a record in an InfluxDB (v2.x). Later on you can use a visualisation tool like Grafana to create a Dashboard with your interruptions.

Prerequisites

You'll need to have an Influx v2.x database in your ecosystem where the data is stored to.

Installation

There are 2 possibilities for installation.

1. Regular installation

  • Build the tool using gradlew.bat bootJar
  • Create a batch script containing: java -jar <the_name_of_the_jar>.jar
  • Create an application.properties file containing:
tracker.influx.url=https://myUrlToMyInfluxDB:443
tracker.influx.token=theInfluxApiToken
tracker.influx.bucket=myBucket
tracker.influx.org=myOrg
  • Run the batch script

2. Docker

The Docker Image is ghcr.io/waschndolos/interruption-tracker:latest

e.g. use docker-compose

version: '3.8'

services:
  interruption-tracker:
    image: ghcr.io/waschndolos/interruption-tracker:latest
    container_name: interruption-tracker
    ports:
      - "9999:9999" # host:container - you're welcome :) 
    environment:
      - TRACKER_INFLUX_URL=<your influx url>
      - TRACKER_INFLUX_TOKEN=<your rw token for the bucket>
      - TRACKER_INFLUX_BUCKET=<your bucket name>
      - TRACKER_INFLUX_ORG=<your org name>
    restart: always  # Ensure the container restarts if it crashes or the host reboots

interruption-tracker's People

interruption-tracker's Issues

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.