Giter Site home page Giter Site logo

dashboard's Introduction

Simple Dashboard - what is it?

Develop Develop Status

Master Master Status

It is really simple dashboard which allows you to display widgets from your local server and from external endpoints - it's all based on JSON.

You can write your widgets in PHP, or in any other language. You just have to expose http interface which accepts GET or POST request and returns JSON widget object.

Right now we have widgets for:

  • Jenkins/Hudson jobs statuses
  • Graphite graphs
  • Git/Github top N committers
  • XenServer VM statuses

More on Dashboard Home Page

Visit http://dashboard.hoborglabs.com/ for more details.

For more technical info visit: http://dashboard.hoborglabs.com/doc

For Developers

You need ant if, like me, you are a bit lazy. Then all you need is ant validate.dev test to get all dev dependencies and run unit tests.

To run dashboard locally for development purposes, simply do

cd example/htdocs
DASHBOARD_ROOT=`pwd`/.. php -S localhost:8081

To run tests, simply run ant test

Dashboard Cache

Dashboard Cache is a small storage application that allows you to store your widget data. It's particularly useful when your want to store data from remote servers. You can, for instance, run a simple cron jab to send 10min average cpu/disk usage.

Project itself is small enough to be a part of Dashbaord project, there is however separate Kernel class for handling DashboardCache requests.

Cache: timestamp, widget id, numeric, json

widget: id, name, api_key

example api call

PUT /api/1/widget/1/data?key=WIDGET_SECREAT_KEY
GET /api/1/widget/1/data?key=WIDGET_SECREAT_KEY
GET /api/1/widget/1/data?from=-10min&to=now&key=WIDGET_SECREAT_KEY

time format: -?\d+(min|h|d|w|m|y) accept more complicated formats like midnight-1d, today

Data split:

Hot data - in memory
Warm data - normal storage
Cold data - archived


If you are using HoborgLabs Dashboard - let me know on wojtek at hoborglabs.com

dashboard's People

Contributors

woledzki avatar wojtek-oledzki avatar

Watchers

James Cloos avatar

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.