diff --git a/CHANGELOG.md b/CHANGELOG.md index 58041d7..ae38dde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.1.2 / 2018-05-04 + +* [ENHANCEMENT] Build tag for systemd + +## 0.1.1 / 2018-04-19 + +* [BUGFIX] Non-updating metrics from systemd-journal fix + ## 0.1.0 / 2018-02-23 * [ENHANCEMENT] Initial release, add changelog diff --git a/README.md b/README.md index 5deb19a..0737446 100644 --- a/README.md +++ b/README.md @@ -32,3 +32,13 @@ Retrieval from the systemd journal is enabled with the `-systemd.enable` flag. This overrides the log file setting. It is possible to specify the unit (with `-systemd.unit`) or slice (with `-systemd.slice`). Additionally, it is possible to read the journal from a directory with the `-systemd.journal_path` flag. + +## Build options + +Default the exporter is build with systemd journal functionality (but it is disabled at default). +Because the systemd headers are required for building with systemd, there is +an option to build the exporter without systemd. Use the build tag `nosystemd`. + +``` +go build -tags nosystemd +```