Pinba middleware for Connect
Pinba is a MySQL storage engine that acts as a realtime monitoring/statistics server using MySQL as a read-only interface. Connect-pinba brings data automatic statistics sending to Pinba server from your node.js application.
Check out the Github repo for the source code.
You can install this module via npm:
$> npm install connect-pinba
This middleware must be on the first called.
var connect_pinba = require'connect-pinba';var connect = require'connect';var server = connectcreateServerconnect_pinbaschema: 'http'server_name: 'example.com'pinba_server: 'pinbadb.vlan'reswriteHead200 'Content-Type': 'text/plain' ;resend'Hello World';listen3000;
connect_pinba take only one parameter, a hash that will be passed to
See node-pinba docs for detailed information.
To contribute any patches, simply fork this repository using GitHub and send a pull request to me. Thanks!
MIT license. See license text in file LICENSE.