mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-11-05 02:55:06 +01:00
Use new sink instances to allow multiple of same sink type
This commit is contained in:
@@ -17,7 +17,7 @@ type sink struct {
|
||||
}
|
||||
|
||||
type Sink interface {
|
||||
Init(config json.RawMessage) error
|
||||
Init(name string, config json.RawMessage) error
|
||||
Write(point lp.CCMetric) error
|
||||
Flush() error
|
||||
Close()
|
||||
|
||||
Reference in New Issue
Block a user