@Override
    public void add(String key, Number val, Context ctx) {
        receiver.update(new Sample(new Measurement(val), new Identifier(key, getSimpleCoordinate(ctx)), AssumedType.COUNTER));
    }
The metrics consumer in JDisc.

@author Steinar Knutsen
container-core/src/main/java/com/yahoo/metrics/simple/jdisc/SimpleMetricConsumer.java