Commit Graph

638 Commits

Author SHA1 Message Date
Björn Rabenstein
49f562136d Merge pull request #258 from knweiss/filefd
filefd collector
2016-06-20 19:50:12 +02:00
Karsten Weiss
262ed7a8c1 README.md: Mention /proc/sys/fs/file-nr filename. 2016-06-20 18:09:13 +02:00
Karsten Weiss
69ba0e916b filefd_linux.go: Fix a typo. 2016-06-20 18:08:26 +02:00
Matthias Rampke
344fe2c4c5 Merge pull request #253 from prometheus/superq/md_raid0
Add support for raid0 devices in mdadm_linux collector.
2016-06-14 12:14:51 +02:00
Ben Kochie
8c809cd29a Add additional test for mdadm_linux collector 2016-06-11 08:54:39 +02:00
Ben Kochie
a09bbaacd1 Add support for raid0 devices in mdadm_linux collector. 2016-06-11 08:54:39 +02:00
Julius Volz
ffd96078e0 Merge pull request #241 from mrwacky42/ignore-fs-types
Add flag to ignore certain filesystem types (Copy of #217)
2016-06-06 17:31:29 -04:00
Sharif Nassar
f0630d5cbb Do not export the filesystem type pattern 2016-06-06 11:10:50 -07:00
Ben Kochie
6969918c95 Merge pull request #247 from knyar/ntp
Add NTP stratum to NTP collector.
2016-06-05 09:28:48 +02:00
Anton Tolchanov
fc3a7b7a97 Add NTP stratum to NTP collector 2016-06-03 13:25:30 +03:00
Julius Volz
d4799999fc Merge pull request #250 from sky-uk/ntp-rtt
Use the offset calculation that includes round trip time in the ntp collector
2016-06-01 19:44:53 -05:00
Chris Batey
387c64424b Use the offset calculation that includes round trip time in the ntp collector
Previously the raw time difference was used which includes the network trip time
between the node and the ntp server. This makes setting alerts off the value
troublesome as it depends on the latency as well as the clock offset.
2016-06-01 08:56:20 +01:00
Chris Batey
b93c7c394b Add intellij files to .gitignore 2016-05-24 16:51:56 +01:00
Sharif Nassar
bf88b6ee0f Fix typos, and initialisms from comments in #217 2016-05-13 13:40:14 -07:00
Dominik Schulz
3fe5e7f8fa Add ignored fs types 2016-05-13 13:40:14 -07:00
Tobias Schmidt
df8dcd27e2 Merge pull request #237 from prometheus/grobie/0.12.0
Release 0.12.0
2016-05-05 18:10:24 -04:00
Tobias Schmidt
83a9614352 Merge pull request #238 from sdurrheimer/fix-circleci-flanky-go-get
Fix CircleCI flanky go get
2016-05-05 17:56:53 -04:00
Tobias Schmidt
3ac6f866ef
Release 0.12.0 2016-05-05 17:55:36 -04:00
Steve Durrheimer
8b9a08d176
Change the test docker image tag to match promu golang version 2016-05-05 13:12:30 +02:00
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