(s Sample)
| 17 | // Sink is a sample sink which will accumulate data in specific way |
| 18 | type Sink interface { |
| 19 | Add(s Sample) // Add a sample to the sink. |
| 20 | Format(t time.Duration) map[string]float64 // Data for thresholds. |
| 21 | IsEmpty() bool // Check if the Sink is empty. |
| 22 | } |
no outgoing calls