Siavash Safi
ccbea34465
filesystem: Remove unused const variable.
10 years ago
Siavash Safi
71abff14b1
devstat: Fix wrong labels for 'other' metrics.
10 years ago
Siavash Safi
c5669f0a1a
Add devstat collector for FreeBSD.
10 years ago
Siavash Safi
f7563fe7a2
Remove config from collectors.
10 years ago
Siavash Safi
1ebda4c0aa
Remove linux build contraint from meminfo test source code.
10 years ago
Siavash Safi
9b6843db60
netdev: use counters instead of gauges.
10 years ago
Siavash Safi
c651d7ccd9
meminfo: use bytes, fix type conversion bug.
10 years ago
Siavash Safi
a10ab2c102
Check caller's euid and egid when accessing /dev/mem on FreeBSD.
10 years ago
Siavash Safi
6ef3b7a4e8
Add filesystem collector for FreeBSD.
10 years ago
Siavash Safi
13d5f969a5
Removed freebsd build constraints from source code.
10 years ago
Siavash Safi
ae5aea0191
Add netdev collector for FreeBSD.
10 years ago
Siavash Safi
66e0171159
Rename linux collectors for build constraints.
10 years ago
Siavash Safi
d7ec7eac1f
Revert "Add build constraint for linux collectors."
10 years ago
Siavash Safi
4c5db2787e
Add meminfo collector for FreeBSD.
10 years ago
Siavash Safi
ad73b87d1e
Add build constraint for linux collectors.
10 years ago
Siavash Safi
23bb9c44b9
Add cpu collector for FreeBSD.
10 years ago
Siavash Safi
f9fa6d05cf
loadavg: Use getloadavg() from stdlib.h
10 years ago
Ian Hansen
64affe205b
Allows netdev devices to be ignored
10 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
Julius Volz
b539481503
Merge pull request #75 from prometheus/remove-attribute-module
...
Use flags instead of config and remove attributes
10 years ago
Johannes 'fish' Ziemke
665b05eedc
Use flags instead of config and remove attributes
10 years ago
Julius Volz
072ddabf62
Fix /proc/net/dev column parsing.
...
This fixes https://github.com/prometheus/node_exporter/issues/73
10 years ago
Matthias Rampke
2ee8470004
remove cgo dependency
...
by hardcoding `USER_HZ` (aka. `_SC_CLK_TCK`) to 100, which it is for all
platforms Go supports. See prometheus/node_exporter#52 for discussion around this too.
Closes prometheus/node_exporter#52 .
10 years ago
Matthias Rampke
37c7e5e60f
Add IPVS stats collector.
...
This collector exposes IPVS status from `/proc/net/ip_vs` and stats from
`/proc/net/ip_vs_stats`.
Note that it is _not_ tested with IPv6, YMMV.
10 years ago
Julius Volz
3ab0b1f915
Merge pull request #56 from kjmkznr/add-tcp-stat-collector
...
Add TCP state collector
10 years ago
KOJIMA Kazunori
e4da771b21
Add collector for /proc/net/tcp
10 years ago
Benjamin Staffin
df7ba0af85
Switch protobuf import to its new github URL
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
Stephen Shirley
54da76f575
Match fd0, not fda0
...
Add fd/sr/vda examples to test input
10 years ago
Stephen Shirley
686a0c768c
Fix typo, match fd0, not fdd0
10 years ago
Stephen Shirley
72404d9ed1
Ignore floppy disk devices, due to it being 2015
10 years ago
Stephen Shirley
0c7d45cc5d
Also ignore vda1 and friends
10 years ago
Daniel Speichert
1763908013
Fixed panic when parsing /proc/stat on 2.6.32-25-pve
...
Fixes issue described in #38
/proc/stat reports a blank line which needs to be ignored.
Old kernels misses one CPU time field, this needs to be ignored too.
10 years ago
Brian Brazil
352cde6d20
Add text file exporter
...
This allows static metrics (e.g. an attributes collector replacement),
and cronjobs to expose stats by echoing into a file.
For example:
echo "my_metric 123" > mycronjob.prom.$$
mv mycronjob.prom.$$ mycronjob.prom
10 years ago
Tobias Schmidt
0aacec2335
Fix ganglia namespace
...
Remove double underscore usage.
10 years ago
Tobias Schmidt
74971c46ba
Consolidate build flags
...
The build of any collector can be deactivated by using "no<name>".
10 years ago
Tobias Schmidt
211ddf33f1
Consolidate collector selection
...
Remove special tags necessary for gmond and runit collectors. All
collectors get built. Selection of which collectors to use continues to
happen via parameter.
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
Tobias Schmidt
974f6fc762
Fix tests
10 years ago
Brian Brazil
96eaff8c7e
Add an exporter for /proc/net/netstat, enabled by default.
...
This catches things like listen overflows, retransmits
and other things that are very useful for retroactive debugging
thus I think it's justified to have it on by default.
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
Johannes 'fish' Ziemke
9f6fc576df
Look for slave_ and lower_ prefixed device in proc
...
Looks like on newer kernels this is prefixed lower_ not slave_.
10 years ago
Johannes 'fish' Ziemke
0bf0f67503
Add network bonding collector
...
This collector exposes two metrics:
- net_bonding_slaves: configured slaves per bonding interface
- net_bonding_slaves_active: currently active slaves per bonding
interface
10 years ago
Johannes 'fish' Ziemke
b03ff7cb9b
Fix format string in test
10 years ago
Johannes 'fish' Ziemke
2b3a112b54
Add time exporter
...
This simple exporter exposes the systems unix time. It's useful to
compare it to the prometheus server time and other targets to detect
clock skew.
10 years ago
Johannes 'fish' Ziemke
32724a10b0
Add NTP exporter
...
This exporter gets the time from a NTP server and exposes the offset
between the remote and local system time.
10 years ago
Johannes 'fish' Ziemke
053db59122
Change metric prefix from raid to megacli
11 years ago