Jonas Große Sundrup
e6d031788f
Correct typo ( #582 )
8 years ago
Tobias Schmidt
d290ea94b8
Fix export of stale device error metrics for unmounted filesystems
...
Instead of maintaining a counter metric for device errors in memory,
this change exports a gauge and uses const metrics to avoid leaking
metrics for unmounted filesystems.
8 years ago
Tobias Schmidt
922e74d58f
Remove unnecessarily named return variables
...
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.
8 years ago
Tobias Schmidt
c703435790
Fix all open go lint and vet issues
8 years ago
Johannes 'fish' Ziemke
4c9131b7d8
Make sure we only return one metric per mounted fs
8 years ago
Johannes 'fish' Ziemke
deebf0aa49
Add node_filesystem_device_errors_total metric
...
This metric is the total number of errors occurred when getting stats
for the given device.
8 years ago
stuart nelson
61f36ac1ab
Activate filesystem collector on DragonFly ( #302 )
8 years ago
Johannes 'fish' Ziemke
4b04d04558
Enable *bsd collector on darwin
9 years ago
Sharif Nassar
f0630d5cbb
Do not export the filesystem type pattern
9 years ago
Sharif Nassar
bf88b6ee0f
Fix typos, and initialisms from comments in #217
9 years ago
Dominik Schulz
3fe5e7f8fa
Add ignored fs types
9 years ago
Will Rouesnel
05539ee156
Add filesystem read-only metric node_filesystem_readonly
...
This is a boolean metric which is set to 1 when the filesystem is flagged as
read-only.
9 years ago
Nick Owens
ebf3ef32f1
collector: sync bsd filesystem collector labels with linux
9 years ago
Nick Owens
b58d1fc971
collector: add openbsd suport to filesystem colector
9 years ago
Matthias Rampke
2d0d72b97d
Add license headers to all code files.
9 years ago
Martín Ferrari
e3f217ea45
Build filesystem_common only on linux and freebsd.
9 years ago
Martín Ferrari
dace6dc48b
Fix issues from code review, and split common code into filesystem_common.go.
9 years ago
Martín Ferrari
8c2316e8a9
Revamp the filesystem collector to use throw-away ConstMetrics.
9 years ago
Siavash Safi
dddb273dfc
Fix some error messages.
9 years ago
Siavash Safi
78bf63ffd8
filesystem: Code cleanup.
9 years ago
Siavash Safi
ccbea34465
filesystem: Remove unused const variable.
9 years ago
Siavash Safi
f7563fe7a2
Remove config from collectors.
9 years ago
Siavash Safi
6ef3b7a4e8
Add filesystem collector for FreeBSD.
9 years ago
Siavash Safi
66e0171159
Rename linux collectors for build constraints.
9 years ago
Siavash Safi
d7ec7eac1f
Revert "Add build constraint for linux collectors."
9 years ago
Siavash Safi
ad73b87d1e
Add build constraint for linux collectors.
9 years ago
Will Rouesnel
676ed5c6ac
Change "filesystem" to "mountpoint" to better reflect the new labels.
10 years ago
William Rouesnel
b22d2e9739
Add device,fsType collection to the filesystem exporter.
...
Collects more information for labelling scraped filesystems with the device
and fsType. This is useful for setting alerts which should change based on
filesystem type, or for filtering out shared mounts such as with NFS volumes.
10 years ago
Julius Volz
e65bc868fc
Switch logging from glog to github.com/prometheus/log.
10 years ago
Julius Volz
9f046cd88e
Run gofmt.
10 years ago
Johannes 'fish' Ziemke
665b05eedc
Use flags instead of config and remove attributes
10 years ago
Julius Volz
efcce45c90
Make collector-specific flags consistent with others.
...
This puts all collector-specific flags into their own namespace under
"collector.<collector-name>", and moves from camel case to dashes, which
is the standard in Prometheus land now.
10 years ago
Tobias Schmidt
872f921867
Reduce number of global variables used
...
This is the first step to make the exporter more testable.
10 years ago
Brian Brazil
1c17481a42
Collect at every scrape, rather than at regular intervals.
...
Switch to Update using the Collecter Collect interface, due to not knowing all
metricnames in all modules beforehand we can't use Describe and thus the full
Collecter interface.
Remove 'updates', it's meaning varies by module and doesn't add much.
10 years ago
Bjoern Rabenstein
0563ecd29d
Migrated everything to new client_golang.
11 years ago
Brian Brazil
3f0814f13b
Add filesystem collector module, to report space used etc.
11 years ago