MCPcopy
hub / github.com/prometheus/prometheus / Store

Method Store

storage/remote/queue_manager.go:411–411  ·  view source on GitHub ↗

Store stores the given samples in the remote storage.

(ctx context.Context, req []byte, retryAttempt int)

Source from the content-addressed store, hash-verified

409type WriteClient interface {
410 // Store stores the given samples in the remote storage.
411 Store(ctx context.Context, req []byte, retryAttempt int) (WriteResponseStats, error)
412 // Name uniquely identifies the remote storage.
413 Name() string
414 // Endpoint is the remote read or write endpoint for the storage client.

Callers 15

TestClientRetryAfterFunction · 0.95
TestClientCustomHeadersFunction · 0.95
DefaultHeadOptionsFunction · 0.65
NewHeadFunction · 0.65
resetInMemoryStateMethod · 0.65
InitMethod · 0.65
loadMmappedChunksMethod · 0.65
ApplyConfigMethod · 0.65
SetMinValidTimeMethod · 0.65

Implementers 5

TestWriteClientstorage/remote/queue_manager_test.go
TestBlockingWriteClientstorage/remote/queue_manager_test.go
NopWriteClientstorage/remote/queue_manager_test.go
MockWriteClientstorage/remote/queue_manager_test.go
Clientstorage/remote/client.go

Calls

no outgoing calls