Main Page

From Pinba.org

Jump to: navigation, search


Pinba is a statistics server for PHP using MySQL as a read-only interface.

It accumulates and processes data sent over UDP by multiple PHP processes and displays statistics in a nice human-readable form of simple "reports", also providing read-only interface to the raw data in order to make possible generation of more sophisticated reports.

With Pinba extension users also can measure particular parts of the code using timers with arbitrary tags.

Pinba is not a debugging tool in a common sense, since you're not supposed to do debugging on production servers, but its main goal is to help developers to locate bottlenecks in realtime and direct developers' attention to the code that really needs it.

Read on for more details.

pinba-scripts-time-small-1d.png

Examples

Downloads

How to install Pinba

Snapshots (updated hourly)

Pinba engine: http://pinba.org/files/snapshots/pinba_engine-latest.tar.gz
Pinba extension: http://pinba.org/files/snapshots/pinba_extension-latest.tar.gz

Version 0.0.5 (beta)

Pinba engine: http://pinba.org/files/pinba_engine-0.0.5.tar.gz
Pinba extension: http://pinba.org/files/pinba_extension-0.0.5.tgz

Wiki dumps

Pinba.org wiki in static HTML: http://pinba.org/files/pinba_wiki_dump.tar.gz

Changelog

0.0.5 - 19 Oct 2009
  • Added rusage to timers (not aggregated on server (yet?)).
  • Fixed possible crash caused by long script names.
  • Disabled query cache for Pinba engine.
0.0.4 - 26 August 2009
  • Added HTTP response code to request data.
  • Added support of Google Protocol Buffers 2.1.0+.
  • Added pinba_script_name_set() function.
  • Improved configure checks for MySQL sources and libevent.
  • Fixed build on MacOS X.
  • Fixed build on FreeBSD.
  • Fixed build with static libevent of latest versions.
0.0.3 - 04 May 2009

Preview release

Personal tools