mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-13 06:47:28 -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.
|
// 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.
|
||||||
|
|
Loading…
Reference in a new issue