Giter Club home page Giter Club logo
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 0 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

pinba-server's Projects

pinba-server icon pinba-server

simple and fast pinba server with storage in clickhouse

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.