MCPcopy Create free account
hub / github.com/cortexproject/cortex / Appender

Method Appender

pkg/ruler/compat.go:156–165  ·  view source on GitHub ↗

Appender returns a storage.Appender

(ctx context.Context)

Source from the content-addressed store, hash-verified

154
155// Appender returns a storage.Appender
156func (t *PusherAppendable) Appender(ctx context.Context) storage.Appender {
157 return &PusherAppender{
158 failedWrites: t.failedWrites,
159 totalWrites: t.totalWrites,
160
161 ctx: ctx,
162 pusher: t.pusher,
163 userID: t.userID,
164 }
165}
166
167// RulesLimits defines limits used by Ruler.
168type RulesLimits interface {

Callers 2

TestPusherAppendableFunction · 0.95
TestPusherErrorsFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestPusherAppendableFunction · 0.76
TestPusherErrorsFunction · 0.76