PHPackages                             pinba-server/pinba-server - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. pinba-server/pinba-server

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

pinba-server/pinba-server
=========================

simple pinba server with storage in clickhouse/loki

1.0.2(7y ago)761512[1 PRs](https://github.com/pinba-server/pinba-server/pulls)MITPHP

Since Apr 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pinba-server/pinba-server)[ Packagist](https://packagist.org/packages/pinba-server/pinba-server)[ Docs](https://github.com/pinba-server/pinba-server)[ RSS](/packages/pinba-server-pinba-server/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

##### Requirements

[](#requirements)

- php
- clickhouse

##### Installation

[](#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

[](#usage)

- `php workerman_clickhouse.php start -d`
- `php workerman_clickhouse.php stop`

##### Systemd autostart script

[](#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:

[](#stats-for-24-hours-with-about-10-rps-on-php-fpm-and-450-rps-on-nginx)

tablerowssize, Mbdescriptionrequests1kk26raw datareport\_by\_all56k2aggregated data by minutesnginx\_requests45kk0raw data, engine=nullnginx\_report\_by\_all300k9aggregated data by minutes##### Info

[](#info)

- publications: [reddit(en)](https://www.reddit.com/r/PHP/comments/bigszu/statistics_and_monitoring_of_php_scripts_in_real/), [habr(ru)](https://habr.com/ru/post/444610/)
- the installation of ClickHouse, pinba-server, pinba module for php and nginx on [Ubuntu 18.04 LTS](https://github.com/pinba-server/pinba-server/blob/master/docker/ubuntu18.04/Dockerfile) and [Centos 7](https://github.com/pinba-server/pinba-server/blob/master/docker/centos7/Dockerfile).

##### Grafana

[](#grafana)

dashboard [\#10011](https://grafana.com/dashboards/10011)

[![grafana_dashboard.png](https://raw.githubusercontent.com/pinba-server/pinba-server/master/grafana_dashboard.png)](https://raw.githubusercontent.com/pinba-server/pinba-server/master/grafana_dashboard.png)

##### License

[](#license)

MIT License.

##### See also

[](#see-also)

- [ClickHouse-Ninja/Proton](https://github.com/ClickHouse-Ninja/Proton) - golang version of pinba-server for clickhouse
- [olegfedoseev/pinba-influxdb](https://github.com/olegfedoseev/pinba-influxdb) - golang version of pinba-server for influxdb
- [nginxhouse](https://github.com/nginxhouse/nginxhouse) - nginx logs visualizer

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

2592d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ea6433027f1bd3fd09910b81856e14edcb36493f8f6b176349be1578bc81447?d=identicon)[morozovsk](/maintainers/morozovsk)

---

Top Contributors

[![morozovsk](https://avatars.githubusercontent.com/u/1822063?v=4)](https://github.com/morozovsk "morozovsk (27 commits)")

---

Tags

clickhousegrafanaphppinbapinbaserverserverswooleworkermanphpserverswooleclickhouseworkermanpinbalokipinbaserver

### Embed Badge

![Health badge](/badges/pinba-server-pinba-server/health.svg)

```
[![Health](https://phpackages.com/badges/pinba-server-pinba-server/health.svg)](https://phpackages.com/packages/pinba-server-pinba-server)
```

###  Alternatives

[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[php-mcp/server

PHP SDK for building Model Context Protocol (MCP) servers - Create MCP tools, resources, and prompts

828280.5k25](/packages/php-mcp-server)[tmtbe/swooledistributed

In order to develop the api server

1.4k9.5k](/packages/tmtbe-swooledistributed)[renoki-co/laravel-healthchecks

Laravel Healthchecks is a simple controller class that helps you build your own healthchecks endpoint without issues.

5654.9k](/packages/renoki-co-laravel-healthchecks)[mix/grpc

PHP gRPC based on Swoole coroutine, including protoc code generator, server, and client

583.0k3](/packages/mix-grpc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
