@ Override public void report ( Metric metric ) throws ReportingException { KairosMetricConverter kairosMetricConverter = new KairosMetricConverter ( ) ; try { kairosMetricConverter . add ( metric ) ; } catch ( KairosMetricConversionException e ) { throw new ReportingException ( e ) ; } this . sendMetric ( kairosMetricConverter . convert ( ) ) ; }
Report method . Converts the given metric to a metric kairos understands and sends them .