Pavel Borzenkov
d773360d12
Add missing argument to fmt.Errorf function in 'ntp' collector
...
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
9 years ago
Pavel Borzenkov
46527808aa
Filter list of collectors enabled by default
...
Enabled by default collectors are chosen for Linux, which supports all
of the implemented collectors. But for other OSes (OS X, for example)
this list is not suitable, because they lack most of those collectors.
Because of that, it is not possible to run node_exporter with default
options on such OSes. Fix this by filtering list of enabled by default
collectors based on their availability for current platform.
Closes #149
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
9 years ago
Brian Brazil
d3fd2a1944
Merge pull request #166 from pborzenkov/fix-osx-build
...
Fix compilation on OS X
9 years ago
Pavel Borzenkov
d1789be33e
Fix compilation on OS X
...
As OS X doesn't have it's own interrupts provider, don't build
interrupts_common on OS X as well. Otherwise build fails, because
interrupts_common depends on variables provided by platform-specific
files.
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
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
Brian Brazil
7eb7917eea
Merge pull request #164 from brunoqc/patch-1
...
Fix flag name in textfile.go
9 years ago
Bruno Bigras
f74de8943b
Fix flag name in textfile.go
9 years ago
Julius Volz
f34e5374e0
Merge pull request #163 from prometheus/fix-ntp-version
...
Fix protocol version setting in NTP collector.
9 years ago
Julius Volz
07b39499cd
Fix protocol version setting in NTP collector.
...
The upstream library changed their interface - the global Version
variable is gone:
283ed9d548
9 years ago
Tobias Schmidt
b11cd9c7d4
Merge pull request #158 from mischief/interrupts-openbsd
...
collector: add openbsd support to interrupt collector
9 years ago
Tobias Schmidt
fe40d8fce2
Merge pull request #159 from mischief/netdev-openbsd
...
collector: add openbsd support for netdev
9 years ago
Nick Owens
3eb2d6625a
collector: add openbsd support for netdev
9 years ago
Nick Owens
73ee8f5257
collector: add openbsd support to interrupt collector
9 years ago
Fabian Reinartz
e55e50bd57
Merge pull request #161 from AlphaB/master
...
Do not use flag before flag.Parse() was called
9 years ago
Mikhail Salosin
e7359706d4
Do not use flag before flag.Parse() was called
9 years ago
Tobias Schmidt
89355b110b
Merge pull request #160 from trumant/issues/100
...
Closes #100 by removing support for HTTP basic auth
9 years ago
Travis Truman
78cc741277
Closes #100 by removing support for HTTP basic auth
9 years ago
Tobias Schmidt
0a0babf3be
Merge pull request #157 from mischief/filesystem-sync-labels
...
collector: sync bsd filesystem collector labels with linux
9 years ago
Nick Owens
ebf3ef32f1
collector: sync bsd filesystem collector labels with linux
9 years ago
Tobias Schmidt
14078251c5
Merge pull request #156 from mischief/filesystem-bsd
...
collector: add openbsd suport to filesystem colector
9 years ago
Nick Owens
b58d1fc971
collector: add openbsd suport to filesystem colector
9 years ago
Julius Volz
110fe938e6
Merge pull request #155 from mischief/loadavg
...
loadavg 1,5,15m for all unices
9 years ago
Nick Owens
2cb489253c
collector: support 1,5,15m load averages for all unices
9 years ago
Julius Volz
6ebbda7f9e
Merge pull request #152 from mischief/common-log
...
switch to github.com/prometheus/common/log for logging
9 years ago
Nick Owens
eb79937340
switch to github.com/prometheus/common/log for logging
9 years ago
Julius Volz
abe4f41937
Merge pull request #146 from AlphaB/ntp-protocol-version
...
Add NTP protocol version flag
9 years ago
Mikhail Salosin
10e65086ea
Add NTP protocol version flag
9 years ago
Julius Volz
79b4c3fe1d
Update Julius's email address in AUTHORS.md
9 years ago
Julius Volz
00e5d1334b
Merge pull request #142 from crisidev/master
...
Add load5 and load15 to linux load metric
9 years ago
Matteo Bigoi
e6ffeb4907
Reduce nesting in sanity check
9 years ago
Brian Brazil
4b28aa1953
Merge pull request #144 from lyda/util-update
...
Update with latest Makefile.COMMON from util.
9 years ago
Kevin Lyda
9f0f1edbd4
Update with latest Makefile.COMMON from util.
9 years ago
Fabian Reinartz
2516a5b3c2
Merge pull request #143 from lyda/filesystem-81
...
Make filesystem collector more robust.
9 years ago
Matteo Bigoi
8913d71ca4
Update end-to-end output for testing
9 years ago
Matteo Bigoi
5918be9a8c
Fix documentation and a possible slice bounds out of range
9 years ago
Kevin Lyda
36291d456e
Make filesystem collector more robust.
...
Current behaviour throws away all stats on any Statfs error. In practice
this is not useful. This turns such errors into debug log messages -
though silently ignoring them seems even more valid to me.
9 years ago
Matteo Bigoi
832ba9cc1d
Add load5 and load15 to linux load metric
9 years ago
Tobias Schmidt
eee6298266
Fix end-to-end test pipefail configuration
9 years ago
Tobias Schmidt
6cc5a6ec56
Fix Ken's name in authors file
...
Fixes #140 .
9 years ago
Tobias Schmidt
44e5f5f53b
Merge pull request #141 from prometheus/lint
...
Lint
9 years ago
Tobias Schmidt
0faa12cacd
Update end-to-end fixtures
9 years ago
Tobias Schmidt
e782412a03
Improve end-to-end test output
9 years ago
Tobias Schmidt
500340bdde
Remove logging in IPVS tests
9 years ago
Tobias Schmidt
07e4ca8aa7
Run go vet during CI
9 years ago
Tobias Schmidt
7e2b65f942
Clean up lint errors
9 years ago
Tobias Schmidt
388cb5eafe
Merge pull request #138 from prometheus/arm64-error
...
Fix compilation on linux/arm64
9 years ago
Brian Brazil
07022b3555
Fix compilation on linux/arm64
9 years ago
Brian Brazil
59f1949a76
Merge pull request #135 from prometheus/remove-unneeded-make
...
Remove unneeded `make` in empty slice initialization.
9 years ago
Brian Brazil
e15e5f346c
Merge pull request #134 from prometheus/lower-case-errors
...
Fix occurreneces of initial uppercase in error strings.
9 years ago
Julius Volz
a25751e0b3
Fix occurreneces of initial uppercase in error strings.
9 years ago