Update Appender.AddFast method comment (#551)

Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
This commit is contained in:
zhulongcheng 2019-03-17 13:42:18 +08:00 committed by Krasi Georgiev
parent b7cac504c9
commit 8feb67e630
1 changed files with 2 additions and 2 deletions

4
db.go
View File

@ -92,8 +92,8 @@ type Appender interface {
// If the reference is 0 it must not be used for caching. // If the reference is 0 it must not be used for caching.
Add(l labels.Labels, t int64, v float64) (uint64, error) Add(l labels.Labels, t int64, v float64) (uint64, error)
// Add adds a sample pair for the referenced series. It is generally faster // AddFast adds a sample pair for the referenced series. It is generally
// than adding a sample by providing its full label set. // faster than adding a sample by providing its full label set.
AddFast(ref uint64, t int64, v float64) error AddFast(ref uint64, t int64, v float64) error
// Commit submits the collected samples and purges the batch. // Commit submits the collected samples and purges the batch.