aboutsummaryrefslogtreecommitdiff
path: root/collector/filesystem_freebsd.go
Commit message (Collapse)AuthorAge
* filesystem_freebsd: Use bytesToString to get label valuesDavid O'Rourke2020-06-03
| | | | Signed-off-by: David O'Rourke <david.orourke@gmail.com>
* filesystem_freebsd: Fix label valuesDavid O'Rourke2020-06-03
| | | | | | | | We must know the length of the various filesystem C strings before turning them from a byte array into a Go string, otherwise our Go strings could contain null bytes, corrupting the label values. Signed-off-by: David O'Rourke <david.orourke@gmail.com>
* Update filesystem freebsdBen Kochie2020-05-14
| | | | | | Upstream x/sys/unix changed types. Signed-off-by: Ben Kochie <superq@gmail.com>
* switch to go-kit/log (#1575)Ben Ye2019-12-31
| | | Signed-off-by: yeya24 <yb532204897@gmail.com>
* properly strip path.rootfs from mountpoint labels (#1421)dt-rush2019-07-19
| | | | | Change-type: patch Connects-to: #1418 Signed-off-by: dt-rush <nickp@balena.io>
* Fix memory corruption when number of filesystems > 16 (#900)Jürgen Hötzel2018-04-16
| | | Signed-off-by: Juergen Hoetzel <juergen@archlinux.org>
* Remove unnecessarily named return variablesTobias Schmidt2017-02-28
| | | | | | Named return variables should only be used to describe the returned type further, e.g. `err error` doesn't add any new information and is just stutter.
* Fix all open go lint and vet issuesTobias Schmidt2017-02-28
|
* Make sure we only return one metric per mounted fsJohannes 'fish' Ziemke2017-01-04
|
* Implement file systems on FreeBSD without cgoDominik Honnef2016-12-26
| | | | | The code may also work for other BSDs, but I don't have access to those for testing.
* collector: add openbsd suport to filesystem colectorNick Owens2015-11-01
|
* switch to github.com/prometheus/common/log for loggingNick Owens2015-10-30
|
* Fixed minor compile time errorKirk Russell2015-10-01
|
* Add license headers to all code files.Matthias Rampke2015-09-26
|
* Fix issues from code review, and split common code into filesystem_common.go.Martín Ferrari2015-09-16
|
* Revamp the filesystem collector to use throw-away ConstMetrics.Martín Ferrari2015-09-15
|
* Fix some error messages.Siavash Safi2015-07-14
|
* filesystem: Code cleanup.Siavash Safi2015-07-14
|
* filesystem: Remove unused const variable.Siavash Safi2015-07-14
|
* Remove config from collectors.Siavash Safi2015-07-14
|
* Add filesystem collector for FreeBSD.Siavash Safi2015-07-14