MCPcopy
hub / github.com/prometheus/prometheus / Appendable

Interface Appendable

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

Appendable allows creating Appender. WARNING(bwplotka): Switch to AppendableV2 is in progress (https://github.com/prometheus/prometheus/issues/17632). Appendable will be removed soon (ETA: Q2 2026).

Source from the content-addressed store, hash-verified

64// WARNING(bwplotka): Switch to AppendableV2 is in progress (https://github.com/prometheus/prometheus/issues/17632).
65// Appendable will be removed soon (ETA: Q2 2026).
66type Appendable interface {
67 // Appender returns a new appender for the storage.
68 //
69 // Implementations CAN choose whether to use the context e.g. for deadlines,
70 // but it's not mandatory.
71 Appender(ctx context.Context) Appender
72}
73
74// SampleAndChunkQueryable allows retrieving samples as well as encoded samples in form of chunks.
75type SampleAndChunkQueryable interface {

Callers 60

AppenderMethod · 0.65
IteratorMethod · 0.65
TestFanout_SelectSortedFunction · 0.65
AppenderMethod · 0.65
TestFanoutAppenderFunction · 0.65
AppenderMethod · 0.65
writeMethod · 0.65

Implementers 15

Headtsdb/head.go
BlockWritertsdb/blockwriter.go
CircularExemplarStoragetsdb/exemplar.go
DBtsdb/db.go
XOR2Chunktsdb/chunkenc/xor2.go
HistogramChunktsdb/chunkenc/histogram.go
XORChunktsdb/chunkenc/xor.go
FloatHistogramChunktsdb/chunkenc/float_histogram.go
DBtsdb/agent/db.go
fanoutstorage/fanout.go
errStoragestorage/fanout_test.go
mockStoragestorage/fanout_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…