mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-10-27 15:15:06 +01:00
Add non-blocking InfluxDB sink (#29)
* Add non-blocking InfluxDB sink * Add configurable batch size
This commit is contained in:
@@ -12,11 +12,12 @@ import (
|
||||
|
||||
// Map of all available sinks
|
||||
var AvailableSinks = map[string]Sink{
|
||||
"influxdb": new(InfluxSink),
|
||||
"stdout": new(StdoutSink),
|
||||
"nats": new(NatsSink),
|
||||
"http": new(HttpSink),
|
||||
"ganglia": new(GangliaSink),
|
||||
"influxdb": new(InfluxSink),
|
||||
"stdout": new(StdoutSink),
|
||||
"nats": new(NatsSink),
|
||||
"http": new(HttpSink),
|
||||
"ganglia": new(GangliaSink),
|
||||
"influxasync": new(InfluxAsyncSink),
|
||||
}
|
||||
|
||||
// Metric collector manager data structure
|
||||
|
||||
Reference in New Issue
Block a user