mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-11-05 02:55:06 +01:00
Add Flush method to sink interface
This commit is contained in:
@@ -29,5 +29,6 @@ type Sink struct {
|
||||
type SinkFuncs interface {
|
||||
Init(config SinkConfig) error
|
||||
Write(point lp.MutableMetric) error
|
||||
Flush() error
|
||||
Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user