Per Abich
eab41dab6b
Fixed compile failure
2020-02-18 16:56:31 +01:00
Per Abich
851c00f29f
Added a simple test and migrated to vgo
2020-02-12 13:41:29 +01:00
Per Abich
da5280083a
Added extra build tags to enable testing on no-linux systems
2020-02-12 13:40:22 +01:00
Bart Vercoulen
f51b1f882d
Refactored to kingpin and fixed a EOF bug in CollectShowqFromReader.
2018-12-17 17:01:01 +01:00
Mario Trangoni
a0059f793e
systemd.go: Fix gosec issue.
...
See,
$ gometalinter --vendor ./...
systemd.go:49:⚠️ Errors unhandled.,LOW,HIGH (gosec)
2018-12-04 17:13:17 +01:00
Silke
0c405faf87
Add nosystemd build tag
...
This allows building the exporter without systemd headers, eg:
env CGO_ENABLED=0 go build -tags nosystemd
Closes #11
2018-04-19 13:34:18 +02:00
Silke
82c04256dc
Implement collection from the systemd journal
...
The following flags configure this usage:
- systemd.enable: enable collection from systemd.
- systemd.unit: systemd unit, postfix.service by default.
- systemd.slice: systemd slice, overrides the unit.
- systemd.journal_path: path to the systemd journal directory.
Closes #2
2018-01-28 15:09:32 +01:00