mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-14 14:52:58 +02: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