MySQL Max Connection Percent

DPA collects the total number of connections metric out of the box, but a more important metric in my opinion is how close are we to maxing out connections. This metric is a simple calculation of the current number of threads connected divided by the maximum connections allowed system parameter.

Create the custom metric as a single value metric and make it look similar to this example: