public void update(Sample sample) {
        // pass around the receiver instead of histogram settings to avoid reading any volatile if unnecessary
        sample.setReceiver(this);
        metricsCollection.update(sample);
    }
Update a metric. This API is not intended for clients for the
simplemetrics API, declare a Counter or a Gauge using
{@link #declareCounter(String)}, {@link #declareCounter(String, Point)},
{@link #declareGauge(String)}, or {@link #declareGauge(String, Point)}
instead.

@param sample a single simple containing all meta data necessary to update a metric
container-core/src/main/java/com/yahoo/metrics/simple/MetricReceiver.java