Add Flush method to sink interface

This commit is contained in:
Lou Knauer
2021-10-12 13:43:58 +02:00
parent dc4b8d13c2
commit cdc1811576
5 changed files with 21 additions and 2 deletions

View File

@@ -29,5 +29,6 @@ type Sink struct {
type SinkFuncs interface {
Init(config SinkConfig) error
Write(point lp.MutableMetric) error
Flush() error
Close()
}