定制 hoborglabs/dashboard 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hoborglabs/dashboard

Composer 安装命令:

composer require hoborglabs/dashboard

包简介

Simple dashboard system.

README 文档

README

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

make server

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

统计信息

  • 总下载量: 1.08k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 41
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 41
  • Watchers: 2
  • Forks: 7
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-06-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固