2017 © Pedro Peláez
 

library dashboard

Simple dashboard system.

image

hoborglabs/dashboard

Simple dashboard system.

  • Tuesday, January 17, 2017
  • by woledzki
  • Repository
  • 3 Watchers
  • 42 Stars
  • 728 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 7 Forks
  • 3 Open issues
  • 23 Versions
  • 10 % Grown

The README.md

Simple Dashboard - what is it?

Develop Develop Status, (*1)

Master Master Status, (*2)

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., (*3)

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., (*4)

Right now we have widgets for:, (*5)

  • 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., (*6)

For more technical info visit: http://dashboard.hoborglabs.com/doc, (*7)

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., (*8)

To run dashboard locally for development purposes, simply do, (*9)

make server

To run tests, simply run ant test, (*10)

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., (*11)

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

Cache: timestamp, widget id, numeric, json, (*13)

widget: id, name, api_key, (*14)

example api call, (*15)

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, (*16)

Data split:, (*17)

Hot data - in memory
Warm data - normal storage
Cold data - archived, (*18)


If you are using HoborgLabs Dashboard - let me know on wojtek at hoborglabs.com, (*19)

The Versions

26/07 2013

v1.1.0

1.1.0.0

Simple dashboard system.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

31/07 2012

1.00

1.00.0.0

Simple dashboard system.

  Sources   Download

MIT

The Requires

  • php >=5.3.0