Since we are adding values twice in rrdValues (once with targetDatapoint key and once with (targetDatasource, targetDatapoint) as key) we need to make sure we are measuring it right.