Metrics bug fix

It means, for every "sampleRate" call of mark(n), we will send out the metrics once.