mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Update Appender.AddFast method comment (#551)
Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
This commit is contained in:
parent
b7cac504c9
commit
8feb67e630
4
db.go
4
db.go
|
@ -92,8 +92,8 @@ type Appender interface {
|
|||
// If the reference is 0 it must not be used for caching.
|
||||
Add(l labels.Labels, t int64, v float64) (uint64, error)
|
||||
|
||||
// Add adds a sample pair for the referenced series. It is generally faster
|
||||
// than adding a sample by providing its full label set.
|
||||
// AddFast adds a sample pair for the referenced series. It is generally
|
||||
// faster than adding a sample by providing its full label set.
|
||||
AddFast(ref uint64, t int64, v float64) error
|
||||
|
||||
// Commit submits the collected samples and purges the batch.
|
||||
|
|
Loading…
Reference in a new issue