pinba-server

simple and fast pinba server with storage in clickhouse

Github stars Tracking Chart

Requirements
  • php
  • clickhouse
Installation
  • cd /opt
  • git clone https://github.com/pinba-server/pinba-server.git
  • cd pinba-server
  • php composer.phar install
  • clickhouse-client -n < clickhouse/pinba.requests.sql
Usage
  • php workerman_clickhouse.php start -d
  • php workerman_clickhouse.php stop
Systemd autostart script
  • sudo cp systemd/pinba-server.service /usr/lib/systemd/system/pinba-server.service
  • sudo systemctl daemon-reload && systemctl enable pinba-server && systemctl start pinba-server
Stats for 24 hours with about 10 RPS on php-fpm and 450 RPS on nginx:, table, rows, size, Mb, description, ---, ---, ---, ---, requests, 1kk, 26, raw data, report_by_all, 56k, 2, aggregated data by minutes, nginx_requests, 45kk, raw data, engine=null, nginx_report_by_all, 300k, 9, aggregated data by minutes, ##### Info
Grafana

dashboard #10011

grafana_dashboard.png

License

MIT License.

See also

Main metrics

Overview
Name With Ownerpinba-server/pinba-server
Primary LanguagePHP
Program languagePHP (Language Count: 3)
Platform
License:
所有者活动
Created At2019-04-07 17:25:16
Pushed At2022-12-05 09:07:34
Last Commit At2019-08-20 17:04:21
Release Count3
Last Release Name1.0.2 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count77
Watchers Count1
Fork Count12
Commits Count27
Has Issues Enabled
Issues Count3
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count1
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private