pt-heartbeat log --monitor to a database

Registered by Daniel Nichter

From bug 1006628:

It would be nice if pt-heartbeat supported an option with --monitor --daemonize to store the output to a table (as opposed to or along with a file). The table can be called heartbeat_stat and just have the one row with 4 columns of the curent delays and the averages. This way, if I am running some monitoring I dont need to have file access to the DB server but can just query the DB for it.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.