src/com/newrelic/metrics/publish/Agent.java
/**
     * Report a metric with a name, unit(s) and value.
     * The {@link Number} value is converted to a {@code float}.
     * The count is assumed to be 1, while minValue and maxValue are set to value.
     * Sum of squares is calculated as the value squared.
     * If the value is {@code null}, the reporting is skipped.
     * @param metricName the name of the metric
     * @param units the units to report
     * @param value the Number value to report
     */
Report a metric with a name, unit(s) and value.
The  Number value is converted to a  float.
The count is assumed to be 1, while minValue and maxValue are set to value.
Sum of squares is calculated as the value squared.
If the value is  null, the reporting is skipped.
@param metricName the name of the metric
@param units the units to report
@param value the Number value to report
Report a metric with a name unit ( s ) and value . The Number value is converted to a float . The count is assumed to be 1 while minValue and maxValue are set to value . Sum of squares is calculated as the value squared . If the value is null the reporting is skipped . @param metricName the name of the metric @param units the units to report @param value the Number value to report
public void reportMetric(String metricName, String units, Number value) {
        if (value != null) {
            logger.debug(REPORTING_METRIC_MSG, metricName);
            collector.addData(metricName, units, value);
        }
    }
public void reportMetric ( String metricName , String units , Number value ) { if ( value != null ) { logger . debug ( REPORTING_METRIC_MSG , metricName ) ; collector . addData ( metricName , units , value ) ; } }
Report a metric with a name, unit(s) and value.
Report a metric with a name unit ( s ) and value .