Steve Durrheimer
28d33e0a5d
Fix CircleCI problems during go get promu
2016-05-05 13:12:19 +02:00
Tobias Schmidt
3d81f25fdd
Merge pull request #224 from giganteous/test-freebsd-netdev
...
Add a unit test for the conversion
2016-05-05 01:12:52 -04:00
Tobias Schmidt
6683a89f9e
Merge pull request #226 from giganteous/fix-386-on-freebsd
...
Fix compilation on freebsd/386
2016-05-05 01:08:14 -04:00
Tobias Schmidt
e5395edc2f
Merge pull request #236 from sdurrheimer/refactor-version-informations
...
Make version informations consistent between prometheus components
2016-05-04 12:55:24 -04:00
Tobias Schmidt
a3f625397d
Merge pull request #235 from sdurrheimer/linux-amd64-static-build
...
Make node_exporter statically buildable for linux/amd64
2016-05-04 10:54:32 -04:00
Steve Durrheimer
3176a9102c
Make node_exporter statically buildable for linux/amd64
2016-05-04 11:01:09 +02:00
Steve Durrheimer
522e5b6ff1
Remove Makefile.COMMON
2016-05-04 08:43:53 +02:00
Steve Durrheimer
60cbc9efc0
Make version informations consistent between prometheus components
...
This also fixes #231 by adding the '-version' flag
2016-05-04 08:43:33 +02:00
Johannes 'fish' Ziemke
d890b63fb5
Merge pull request #221 from sdurrheimer/master
...
New release process using docker, circleci and a centralized building tool
2016-04-28 13:21:30 -07:00
Steve Durrheimer
158200fd49
New release process using docker, circleci and a centralized
...
building tool
2016-04-28 22:07:21 +02:00
Tobias Schmidt
7c97b784d6
Merge pull request #230 from prometheus/remove-lastlogin
...
Remove lastlogin collector.
2016-04-24 19:45:02 -04:00
Julius Volz
c3b16c7b2e
Remove lastlogin collector.
...
See also https://github.com/prometheus/node_exporter/issues/229
2016-04-24 18:30:15 +02:00
Kai Storbeck
53d0a7815b
Add a unit test for the conversion
2016-04-21 23:45:34 +02:00
Julius Volz
6509f79364
Merge pull request #227 from NeoRaider/logind
...
Add 'logind' exporter
2016-04-20 17:40:02 +02:00
Matthias Schiffer
91ddafdb33
Add 'logind' exporter
...
logind provides a nice interface to find out about the numbers of sessions
on a system; it is used on most Linux distributions, even those which
aren't using systemd.
The exporter exposes the total number of sessions indexed by the following
attributes:
* seat
* type ("tty", "x11", ...)
* class ("user", "greeter", ...)
* remote ("true"/"false")
2016-04-20 17:28:12 +02:00
Kai Storbeck
dcfbf40dbf
change caps of the constant
2016-04-20 00:22:47 +02:00
Kai Storbeck
365e688cec
gofmt, a typo, and an unintended change crept in
2016-04-20 00:19:16 +02:00
Kai Storbeck
aac89c524e
This should fix it.
2016-04-20 00:08:26 +02:00
Björn Rabenstein
d98335cbf0
Merge pull request #223 from prometheus/go-vet/no-install
...
Stop installing golang.org/x/tools/cmd/vet during Travis build
2016-04-18 12:20:48 +02:00
Matthias Rampke
efbc877188
Stop installing golang.org/x/tools/cmd/vet during Travis build
...
This is
[deprecated](https://groups.google.com/forum/#!topic/golang-announce/qu_rAphYdxY )
and no longer necessary as we don't try to build with Go 1.4 anyway.
2016-04-18 10:12:18 +00:00
Brian Brazil
c09b433d8f
Merge pull request #222 from giganteous/fix-uint-conversion
...
fix the uint conversion to strings
2016-04-16 22:43:34 +01:00
Kai Storbeck
1122ce49c7
fix the uint conversion to strings
2016-04-16 14:39:55 +02:00
Julius Volz
dd76a68f3c
Merge pull request #215 from tux21b/master
...
systemd-collector: support private/direct connections without dbus
2016-03-30 14:08:18 +02:00
Christoph Hack
5d35401a41
systemd-collector: support private/direct connections without dbus
2016-03-29 16:19:47 +02:00
Brian Brazil
bce2e0c513
Merge pull request #209 from bluecmd/patch-1
...
Fix NTP server command line reference
2016-02-20 21:11:12 +00:00
Christian Svensson
fff0298c68
Fix NTP server command line reference
...
--ntpServer is actually -collector.ntp.server
2016-02-20 22:04:49 +01:00
Brian Brazil
3853d9f0a6
Merge pull request #208 from problame/freebsd
...
Add FreeBSD 'cpu' exporter to default collectors.
2016-02-18 12:37:27 +00:00
Christian Schwarz
9a189b903e
Add FreeBSD 'cpu' exporter to default collectors.
...
As of `1fc84e2fb69ee3d1f063399b00a6284fc8e27cb8` it does not require root anymore.
2016-02-18 12:15:08 +01:00
Julius Volz
276d626616
Merge pull request #207 from problame/freebsd
...
Re-implement CPU metrics collection through sysctls.
2016-02-17 15:47:22 +01:00
Christian Schwarz
1fc84e2fb6
Re-implement CPU metrics collection through sysctls.
...
This removes the requirement to run `node_exporter` as root or with read
access to `/dev/kmem` in order to get CPU usage statistics.
Once FreeBSD adds a macro for the `kern.cp_times` sysctl, the
`setupSysctlMIBs()` function should be replaced by usage of the macro.
2016-02-17 15:39:21 +01:00
Christian Schwarz
2ca6280b82
Fix compile error on FreeBSD
...
When compiling `20ecedd0b4c983bd7b88f97cd7a21461988a6c12` with GNU make (`gmake`) on FreeBSD 10.2-RELEASE, I get the following error:
```
collector/filesystem_bsd.go:60: non-bool mnt[i].f_flags & MNT_RDONLY (type C.uint64_t) used as if condition
Makefile.COMMON:85: recipe for target 'node_exporter' failed
gmake: *** [node_exporter] Error 2
```
This problem is fixed by this patch.
2016-02-17 15:39:21 +01:00
Brian Brazil
e269be1a2a
Merge pull request #206 from problame/patch-1
...
Fix compile error on FreeBSD
2016-02-16 14:31:26 +00:00
Christian Schwarz
a40bdcaa36
Fix compile error on FreeBSD
...
When compiling `20ecedd0b4c983bd7b88f97cd7a21461988a6c12` with GNU make (`gmake`) on FreeBSD 10.2-RELEASE, I get the following error:
```
collector/filesystem_bsd.go:60: non-bool mnt[i].f_flags & MNT_RDONLY (type C.uint64_t) used as if condition
Makefile.COMMON:85: recipe for target 'node_exporter' failed
gmake: *** [node_exporter] Error 2
```
This problem is fixed by this patch.
2016-02-16 13:35:08 +01:00
Brian Brazil
fddc67bda6
Merge pull request #205 from cagedmantis/cagedmantis/fix-typo-in-error-msg
...
fix a small typo in an error message
2016-02-10 09:26:51 +00:00
Carlos Amedee
8578a3281a
fix a small typo in an error message.
2016-02-09 23:22:29 -05:00
Brian Brazil
ca050b599d
Merge pull request #204 from pborzenkov/centos6-meminfo-numa-fix
...
meminfo_numa: fix crash on CentOS 6 kernel
2016-02-06 13:17:34 +00:00
Pavel Borzenkov
5a085dcaf5
meminfo_numa: fix crash on CentOS 6 kernel
...
It turns out, on some kernels (notably - CentOS6) there is an empty line
inserted at the beginning of /sys/devices/system/node/node*/meminfo
files. The leads to node_exporter crash on such kernels.
Fix this by checking for empty string first.
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2016-02-06 16:11:49 +03:00
Tobias Schmidt
3a96e6881b
Remove unused flag -debug.memprofile-file
...
The option to write out a memory profile to file was removed in a730cff
.
Declaring flags as local variable does not only result in cleaner, more
testable code, but also ensures that the program won't compile anymore
when unused flags are left in place.
2016-02-04 20:24:16 -05:00
Matthias Rampke
20ecedd0b4
And one more, because I don't know how to version.
2016-02-04 12:43:50 +00:00
Matthias Rampke
1cdea5196e
Release 0.12.0rc2.
2016-02-04 12:41:05 +00:00
Tobias Schmidt
a05966a3a9
Update Makefile.COMMON
...
Go expects to build a project from a location like
`.../src/github.com/prometheus/node_exporter`.
2016-01-25 11:57:56 -05:00
Tobias Schmidt
b30806ef41
Merge pull request #200 from prometheus/document-availability
...
Document os support of each collector
2016-01-21 19:41:34 -05:00
Tobias Schmidt
e2163db0f7
Document os support of each collector
2016-01-21 19:36:58 -05:00
Tobias Schmidt
33f99c4fc1
Vendor all dependencies
...
Uses godep to vendor dependencies. Godeps is not necessary during build,
golang's new vendor support is used instead.
2016-01-21 16:41:53 -05:00
Tobias Schmidt
041de0e30c
Fix go format style in filesystem collector
2016-01-21 16:20:32 -05:00
Tobias Schmidt
d1f0f2247d
Merge pull request #165 from pborzenkov/ksmd-collector
...
Add new collector exposing 'ksmd' stats
2016-01-21 08:48:47 -05:00
Tobias Schmidt
4d07881b5b
Merge pull request #162 from wrouesnel/read_only_flag
...
Add filesystem read-only metric.
2016-01-21 08:43:54 -05:00
Pavel Borzenkov
0e78ed63a6
Add new collector exposing 'ksmd' stats
...
Add new collector which exposes the content of /sys/kernel/mm/ksm
directory. This directory contains control and statistics files for
Kernel Samepage Merging daemon.
The collector is not enabled by default.
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2016-01-21 13:43:22 +03:00
Tobias Schmidt
c47c011063
Fix go format style in mdadm collector
2016-01-21 00:44:07 -05:00
Tobias Schmidt
f6f4fda1aa
Merge pull request #168 from pborzenkov/per-numa-meminfo
...
Add new per NUMA node memory statistics collector
2016-01-20 23:43:24 -05:00