Giter Club home page Giter Club logo

avery's Introduction

Avery

Avery is a real-time time-based metric storage, retrieval, and graphing service.

Goals

  • Web-service
  • Generalized for any type of metric
  • Real-time accessibility
  • RRD-style Data Structure (Time series data)
  • Wizard for creating data structures (TODO)
  • JSON/PNG Export (TODO)
  • Pretty colors (TODO)

Web-service

  • NodeJS
  • Hoard data-storage

RRD-style Data Structure (Time series data)

Example Usage

# npm install
# foreman start
# curl -d "value=20" -d "autocreate=true" localhost:5000/update/localhost/example
# open http://localhost:5000/watch/localhost/example

Example Graph

This is an example of a 30 minute time slice with 1 second updates (note how metric updates as applications report data).

avery example

Warning

Avery is still in active development.

deleting spikes

find the spot.

var hoard = require('hoard'); var time = 1330719540; var directory = "hoard_files/dst_paid/"; var filename = "instl.hoard"; hoard.fetch(directory+filename, time, time+240, function(err, timeInfo, values) { console.log(values); })

update the files.

var hoard = require('hoard'); var time = 1330719740; var directory = "hoard_files/dst_paid/"; require("fs").readdirSync(directory).filter(function(file){ return file.match(/^[^_].*.hoard$/) }).forEach(function(filename) { hoard.fetch(directory+filename, time, time+240, function(err, timeInfo, values) { if (values[1] != null) { hoard.update(directory+filename, values[1], time+60, function(err) { if (err) console.log(err) console.log("updated",filename,"from",values[0],"to",values[1]) }) } }) })


Where did the name Avery come from? "real-time time-based metric storage, retrieval, and graphing service" or RTTBMSRAGS for short, was a very long name.

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.