code: func (c *StatsdClient) GaugeWithSampling(stat string, value int64, sampleRate float32) error {
  	if err := checkSampleRate(sampleRate); err != nil {
  		return err
  	}
  
  	if !shouldFire(sampleRate) {
  		return nil // ignore this call
  	}
  
  	if value < 0 {
  		err := c.send(stat, "%d|g", 0, 1)
  		if nil != err {
  			return err
  		}
  	}
  
  	return c.send(stat, "%d|g", value, sampleRate)
  }
docs: // GaugeWithSampling - Gauges are a constant data type.