MCPcopy
hub / github.com/prometheus/prometheus / AppendSTZeroSample

Method AppendSTZeroSample

storage/interface.go:528–528  ·  view source on GitHub ↗

AppendSTZeroSample adds synthetic zero sample for the given st timestamp, which will be associated with given series, labels and the incoming sample's t (timestamp). AppendSTZeroSample returns error if zero sample can't be appended, for example when st is too old, or when it would collide with incom

(ref SeriesRef, l labels.Labels, t, st int64)

Source from the content-addressed store, hash-verified

526 //
527 // If the reference is 0 it must not be used for caching.
528 AppendSTZeroSample(ref SeriesRef, l labels.Labels, t, st int64) (SeriesRef, error)
529}
530
531// SeriesSet contains a set of series.

Callers 8

AppendSTZeroSampleMethod · 0.65
AppendSTZeroSampleMethod · 0.65
appendV2Method · 0.65
appendMethod · 0.65

Implementers 8

initAppendertsdb/head_append.go
headAppendertsdb/head_append.go
appendertsdb/agent/db.go
fanoutAppenderstorage/fanout.go
mockAppendablestorage/remote/write_handler_test.go
timestampTrackerstorage/remote/write.go
notReadyAppendercmd/prometheus/main.go
appenderutil/teststorage/appender.go

Calls

no outgoing calls