MCPcopy
hub / github.com/prometheus/prometheus / AppendableV2

Interface AppendableV2

storage/interface_append.go:27–33  ·  view source on GitHub ↗

AppendableV2 allows creating AppenderV2.

Source from the content-addressed store, hash-verified

25
26// AppendableV2 allows creating AppenderV2.
27type AppendableV2 interface {
28 // AppenderV2 returns a new appender for the storage.
29 //
30 // Implementations CAN choose whether to use the context e.g. for deadlines,
31 // but it's not mandatory.
32 AppenderV2(ctx context.Context) AppenderV2
33}
34
35// AOptions is a shorthand for AppendV2Options.
36// NOTE: AppendOption is used already.

Implementers 12

Headtsdb/head.go
BlockWritertsdb/blockwriter.go
DBtsdb/db.go
DBtsdb/agent/db.go
fanoutstorage/fanout.go
errStoragestorage/fanout_test.go
mockStoragestorage/fanout_test.go
Storagestorage/remote/storage.go
otlpInstrumentedAppendablestorage/remote/write_otlp_handler.go
WriteStoragestorage/remote/write.go
readyStoragecmd/prometheus/main.go
Appendableutil/teststorage/appender.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…