Add histograms for metrics
Add all histogram metrics to the health probe.

Histogram sampling period can now be configured through a system
property, samplingPeriodMinutes, whose default is 3 minutes. Samples are
collected every second, so increasing this period will increase the cost
of computing stats.