storage/remote/write.go
func (t *timestampTracker) Commit() error {
	t.storage.samplesIn.incr(t.samples)

	samplesIn.Add(float64(t.samples))
	highestTimestamp.Set(float64(t.highestTimestamp / 1000))
	return nil
}
func (t *timestampTracker) Commit() error {
	t.storage.samplesIn.incr(t.samples)

	samplesIn.Add(float64(t.samples))
	highestTimestamp.Set(float64(t.highestTimestamp / 1000))
	return nil
}
// Commit implements storage.Appender.