Appender returns a storage.Appender
(ctx context.Context)
| 154 | |
| 155 | // Appender returns a storage.Appender |
| 156 | func (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. |
| 168 | type RulesLimits interface { |
no outgoing calls