~valentinviennot/ubuntu-docker-images:update-telegraf-readme

Last commit made on 2020-11-18
Get this branch:
git clone -b update-telegraf-readme https://git.launchpad.net/~valentinviennot/ubuntu-docker-images
Only Valentin Viennot can upload to this branch. If you are Valentin Viennot please log in for upload directions.

Branch information

Name:
update-telegraf-readme
Repository:
lp:~valentinviennot/ubuntu-docker-images

Recent commits

5ec1ceb... by Valentin Viennot

text consistency

3635f1e... by Valentin Viennot

Port forwarding

7974c06... by Sergio Durigan Junior

Don't create a dedicated network to run the container

Signed-off-by: Sergio Durigan Junior <email address hidden>

ec41da8... by Sergio Durigan Junior

Small fixes to the README.md

Very small formatting fixes, and a small addition to the microk8s
section.

Signed-off-by: Sergio Durigan Junior <email address hidden>

e268ec2... by Sergio Durigan Junior

Improve README file; add HACKING and examples (LP: #1904422)

This commit improves the current README.md file by expanding its
sections and adding new content to it. It also adds a HACKING.md with
brief instructions on how to contribute to the project, and an
"examples" directory containing docker-compose and microk8s example
configurations, as well as instructions on how to run them.

Signed-off-by: Sergio Durigan Junior <email address hidden>

7ef12c5... by Sergio Durigan Junior

Adjust telegraf.conf.

- Disable outputs.influxdb.
- Enable outputs.prometheus_client, which makes telegraf listen on
  localhost:9273.

Signed-off-by: Sergio Durigan Junior <email address hidden>

d5b034e... by Sergio Durigan Junior

Disable influxdb output (LP: #1904044)

This commit is needed because the default config that ships with
telegraf will try to write metrics to a non-existing influxdb, which
will then pollute the logs with a lot of errors.

Since we have to enable at least one output, we enable the "file" one,
and make it write the metrics to /dev/null.

Signed-off-by: Sergio Durigan Junior <email address hidden>

af969a2... by Sergio Durigan Junior

Disable tests that depend on network.

Some tests don't run very well inside a container environment on
Launchpad, so we have to disable them before we build telegraf.

c8a78e0... by Sergio Durigan Junior

Build telegraf directly from the git repository

We are now cloning the official telegraf Ubuntu git repo from inside
the container and building everything inside it, making sure to follow
what will be in Focal (once the Focal telegraf SRU is approved).

Also, get rid of the README file since this image is not considered to
be testing-only anymore.

5f0696c... by Lucas Kanashiro

Install telegraf from Groovy instead of Sergio's PPA

Sergio is working to SRU this telegraf package to Focal. The source
package is quite the same (DH compat level is different) but in Groovy
it was compiled with Go 1.14. I ran some basic tests and telegraf built
in Groovy works on Focal.