code: func RecordMetricsWithRecorder(r Recorder) {
  	ticker := time.NewTicker(r.Interval())
  	go func() {
  		for _ = range ticker.C {
  			r.Record()
  		}
  	}()
  }
docs: // RecordMetricsWithRecorder records metrics with the given recorder.