public void sample(double x, Point p) {
        receiver.update(new Sample(new Measurement(x), new Identifier(name, p), AssumedType.GAUGE));
    }
Record a sample at the given position.

@param x
           sample value
@param p
           position/dimension values for the sample
container-core/src/main/java/com/yahoo/metrics/simple/Gauge.java