Adding metrics and events to MySQL

Metrics can give you a good feel of how your Puppet-managed infrastructure is performing and how rapidly your configuration items are changing. Combined with the Puppet report, the metrics and events can add a wealth of data to your reports. This is where MySQL can shine, as it gives you several different ways to represent this information and offers you the chance to use SQL to create your own reports. As the data will be available in one place, there is no need to crawl through multiple files to build up historical data or join data using the JOIN statement.

The Puppet metrics are carried inside the Puppet transaction report and are encapsulated within the Puppet::Util::Metric object. The metric data is split ...

Get Puppet Reporting and Monitoring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.