mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 12:37:25 +01:00
708 B
708 B
This folder contains the sinks for the cc-metric-collector.
sink.go
The base class/configuration is located in sink.go
.
Sinks
There are currently two sinks shipped with the cc-metric-collector:
stdoutSink.go
: Writes all metrics tostdout
in InfluxDB line protocol. The sink does not use https://github.com/influxdata/line-protocol to reduce the executed code for debugginginfluxSink.go
: Writes all metrics to an InfluxDB database instance using a blocking writer. It uses https://github.com/influxdata/influxdb-client-go . Configuration for the server, port, user, password and database name are in the global configuration file
Installation
Nothing to do, all sinks are pure Go code