Add NatsSink to send data via the NATS messaging system

This commit is contained in:
Thomas Roehl
2021-03-29 14:14:38 +02:00
parent 162f0f14d6
commit 0a70ca1f13
2 changed files with 61 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ var Collectors = map[string]collectors.MetricGetter{
var Sinks = map[string]sinks.SinkFuncs{
"influxdb": &sinks.InfluxSink{},
"stdout": &sinks.StdoutSink{},
"nats": &sinks.NatsSink{},
}
// Structure of the configuration file