Class ExceptionHistoMetrics


  • public class ExceptionHistoMetrics
    extends java.lang.Object
    Use this to provide exception histograms in a uniform way. To use this, you need to have a way to get a meaningful magnitude from each type of error you want to track.
    • Method Summary

      Modifier and Type Method Description
      void update​(java.lang.Throwable e, long magnitude)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExceptionHistoMetrics

        public ExceptionHistoMetrics​(ActivityDef activityDef)
    • Method Detail

      • update

        public void update​(java.lang.Throwable e,
                           long magnitude)