Code Monkey home page Code Monkey logo

timeserieszen's Introduction

Timeseries zen

Long term goal: To be a better graphite. Not much here right now.

Playing around

Suppose /tmp/TSZFiles is the directory where you store your data. Open an sbt console.

import com.timeserieszen.wal_handlers._
import com.timeserieszen.listener._
UDPListener(9999).map(x => {println(x); x}).to(new TextWALHandler("/tmp/TSZFiles").writer).run.run

This will make you listen on port 9999 for graphite like messages. One major difference - you can include multiple keys and values in the same message. To test this:

$ echo -n "foo.bar 23.3 foo.baz 25.3 12350" | nc -4u -w1 localhost 9999

timeserieszen's People

Contributors

sshastry avatar

Stargazers

none-p avatar  avatar David Andel avatar scvalencia avatar

Watchers

Stucchio avatar James Cloos avatar Thomas.huang avatar  avatar

Forkers

sshastry

timeserieszen's Issues

Internal metrics

We should track the assorted metrics of the app, and of course track them within (and without) the app.

streaming api + websockets

a second api, which only accepts a start time from=... and streams out the new values. this is independent of compatibility with grafana or kale etc.

use scalaz and http4s.

Need json-over-http protocol

Ideally in graphite api format.

  • parse epoch times e.g. 12345678 12345678ns
  • parse a selected set of HH:mm:ss like formats
  • parse relative times sans date and month e.g. &from=-8d&until=-7d
  • parse relative times with date and month e.g. &from=january+1

Web GUI

Ideally not graphite's existing fugly shit.

One idea - an iPython notebook for exploration, and python scripts for building a dashboard.

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.