This page documents a metric template which renders data from our php-fpm Sensu checks.
This example shows a graph showing the tally of the states of the php-fpm processes, and the number of connections accepted per minute on the second Y axis.
The template as valid JSON is below.
Using this template
To apply this template, click the "edit" link on the Managed Device Metrics box when in "View Device" for the device which provides the metrics. Add this template to the list of templates in the JSON data structure. Note that it should come before the final curly brace (
} ), and a comma should be added to the end of the previous metric in order for the JSON to be valid.