(_ storage.SeriesRef, l labels.Labels, t int64, v float64)
| 66 | } |
| 67 | |
| 68 | func (a *PusherAppender) Append(_ storage.SeriesRef, l labels.Labels, t int64, v float64) (storage.SeriesRef, error) { |
| 69 | a.labels = append(a.labels, l) |
| 70 | a.samples = append(a.samples, cortexpb.Sample{ |
| 71 | TimestampMs: t, |
| 72 | Value: v, |
| 73 | }) |
| 74 | return 0, nil |
| 75 | } |
| 76 | |
| 77 | func (a *PusherAppender) SetOptions(opts *storage.AppendOptions) { |
| 78 | a.opts = opts |
no outgoing calls