MCPcopy
hub / github.com/prometheus/prometheus / Append

Method Append

tsdb/wlog/watcher.go:58–58  ·  view source on GitHub ↗

Append and all the rest Append* methods should block until the samples are fully accepted e.g. enqueued in memory. Once returned, the WAL Watcher will not attempt to pass that data again.

([]record.RefSample)

Source from the content-addressed store, hash-verified

56 //
57 // Once returned, the WAL Watcher will not attempt to pass that data again.
58 Append([]record.RefSample) bool
59 AppendExemplars([]record.RefExemplar) bool
60 AppendHistograms([]record.RefHistogramSample) bool
61 AppendFloatHistograms([]record.RefFloatHistogramSample) bool

Callers 15

TestBlockWriterFunction · 0.65
testutil.goFile · 0.65
createIdxChkReadersFunction · 0.65
TestDeletedIteratorFunction · 0.65
TestPostingsForMatchersFunction · 0.65
appendSeriesFunction · 0.65

Implementers 2

writeToMocktsdb/wlog/watcher_test.go
QueueManagerstorage/remote/queue_manager.go

Calls

no outgoing calls

Tested by 15

TestBlockWriterFunction · 0.52
createIdxChkReadersFunction · 0.52
TestDeletedIteratorFunction · 0.52
TestPostingsForMatchersFunction · 0.52
appendSeriesFunction · 0.52
BenchmarkHeadQuerierFunction · 0.52