added support for histograms for application latency