Pinboard

实时PHP监控系统,汇总并显示Pinba数据。(Realtime PHP monitoring system which aggregates and displays Pinba data.)

  • 所有者: intaro/pinboard
  • 平台: BSD, Linux, Mac, Windows
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Intaro Pinboard

Intaro Pinboard (Pinba Board) is a realtime PHP monitoring system which aggregates and displays pinba data.

Intaro Pinboard

Developed on Silex framework and works with PHP 5.3.3 or later.

Installation

Before Pinboard installation you should already be installed pinba.
Since the version 1.5 Intaro Pinboard requires Pinba 1.1 or higher.

  1. Download application:

     $ git clone git://github.com/intaro/pinboard.git --branch=v1.5.2
    
  2. Download composer:

     $ curl -sS https://getcomposer.org/installer, php
    
  3. Install dependency libraries through composer (and enter the parameters of connection to Pinba database):

     $ php composer.phar install
    
  4. Initialize app (command will create additional tables and define crontab task):

     $ ./console migrations:migrate
     $ ./console register-crontab
    
  5. Point the document root of your webserver or virtual host to the web/ directory. Read more in Silex documentation. Example for nginx + php-fpm:

     server {
         listen 80;
         server_name pinboard.site.ru;
         root /var/www/pinboard/web;
    
         #site root is redirected to the app boot script
         location = / {
             try_files @site @site;
         }
    
         #all other locations try other files first and go to our front controller if none of them exists
         location / {
             try_files $uri $uri/ @site;
         }
    
         #return 404 for all php files as we do have a front controller
         location ~ \.php$ {
            return 404;
         }
    
         location @site {
             fastcgi_pass unix:/tmp/php-fpm.sock;
             include fastcgi_params;
             fastcgi_param  SCRIPT_FILENAME $document_root/index.php;
             fastcgi_param HTTPS $https if_not_empty;
         }
    
         location ~ /\.(ht, svn, git) {
             deny  all;
         }
     }
    

More details in section Installation of the documentation.

Update

Update from 0.1 to 1.0

Branch 1.0 brings migrations machinery which allows to update Pinboard easy when it requires database schema transformation.

Switch to branch 1.0

$ git fetch
$ git checkout v1.0

Update vendors

$ php composer.phar update

Register migration

$ ./console migrations:version --add 20131013132150

Update between 1.x versions

Switch to branch 1.x

$ git fetch
$ git checkout v1.x

Update vendors

$ php composer.phar update

Apply changes to database

$ ./console migrations:migrate

Add to parameters.yml new options from parameters.yml.dist.

More Information

Documentation in Wiki.

License

Intaro Pinboard is licensed under the MIT license.

主要指標

概覽
名稱與所有者intaro/pinboard
主編程語言PHP
編程語言PHP (語言數: 4)
平台BSD, Linux, Mac, Windows
許可證MIT License
所有者活动
創建於2013-04-29 02:07:13
推送於2019-10-22 09:11:15
最后一次提交2018-09-26 17:30:46
發布數9
最新版本名稱v1.5.2 (發布於 )
第一版名稱v0.1 (發布於 )
用户参与
星數476
關注者數43
派生數90
提交數297
已啟用問題?
問題數91
打開的問題數15
拉請求數46
打開的拉請求數3
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?