Add READMEs and Makefile to build and integrate LIKWID

This commit is contained in:
Thomas Roehl
2021-03-27 13:39:43 +01:00
parent 5c5e8b8f2d
commit bc5d4b288e
4 changed files with 94 additions and 25 deletions

12
sinks/README.md Normal file
View File

@@ -0,0 +1,12 @@
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 to `stdout` in InfluxDB line protocol. The sink does not use https://github.com/influxdata/line-protocol to reduce the executed code for debugging
* `influxSink.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