Commit Graph

535 Commits (5a461d261c99ed9479e491c97cfd3bfe310a4139)

Author SHA1 Message Date
stuart nelson 57f88ac4f6 Update comment
8 years ago
stuart nelson 78c84b1a47 Remove old freq finding code
8 years ago
stuart nelson 45ac033d9e Use correct frequency for calculating cpu time
8 years ago
stuart nelson 8cc06aab04 Remove unneeded ncpu variable
8 years ago
stuart nelson 9f7822ccdc Remember to bzero string
8 years ago
stuart nelson c02dcdeb35 Remove unused comment.
8 years ago
stuart nelson 3e4a154656 Correctly exporting values
8 years ago
Ben Kochie 64b82596ef Fix mdadm collector for resync=PENDING.
8 years ago
stuart nelson 4b4385bd44 Remove free
8 years ago
stuart nelson cc5142a007 Remove some unnecessary includes
8 years ago
stuart nelson a9d27ea722 Appears to be working? Still need to cleanup after self
8 years ago
stuart nelson 1d75b376ae checkpoint
8 years ago
stuart nelson 1b7a18c271 Creating slice from C-array
8 years ago
stuart nelson 61f36ac1ab Activate filesystem collector on DragonFly (#302)
8 years ago
stuart nelson 03da1ea516 successfully exporting one of 2 cpus
8 years ago
stuart nelson cda2f493ee wip
8 years ago
Takuya Nakaike 0f2a87ab22 add s390x support
8 years ago
Calle Pettersson e890743f79 Add white/blacklisting of units for systemd collector
8 years ago
Julius Volz 428746c48e Merge pull request #285 from prometheus/meminfo-bsd-constmetrics
8 years ago
Julius Volz f0796683fe Convert BSD meminfo collector to use ConstMetrics
8 years ago
Julius Volz c0b46391e2 Merge pull request #283 from prometheus/meminfo-constmetrics
8 years ago
Brian Brazil 25289c5024 Merge pull request #284 from prometheus/sockstat-constmetrics
8 years ago
Julius Volz cef3d98256 Convert sockstat collector to use ConstMetrics
8 years ago
Julius Volz eac396c637 Convert meminfo collector to use ConstMetrics
8 years ago
Julius Volz f91bca427b Convert filefd collector to use ConstMetrics
8 years ago
Julius Volz 9128952454 Fix end-to-end tests after netstat conversion
8 years ago
Julius Volz 8c5c880705 Convert netstat collector to use ConstMetrics
8 years ago
Thomas Frössman 32e3445d72 Fix mdstat tabs parsing
8 years ago
Daniel c3eba340e3 Update e2e-output.txt
9 years ago
Daniel 87b3df90e6 Update diskstats
9 years ago
Daniel a7a8d088da Ignore partitions on NVME devices by default
9 years ago
Brian Brazil f660b32f08 Merge pull request #267 from mgit-at/sockstat-rhe4
9 years ago
Johannes 'fish' Ziemke 7e5aaa9e33 Use meminfo_freebsd on darwin as well
9 years ago
Johannes 'fish' Ziemke 4b04d04558 Enable *bsd collector on darwin
9 years ago
Michael Gebetsroither 4b820427dd sockstat: add support for RHE4
9 years ago
slene dea279267a Close file handler in textfile
9 years ago
Karsten Weiss 69ba0e916b filefd_linux.go: Fix a typo.
9 years ago
Matthias Rampke 344fe2c4c5 Merge pull request #253 from prometheus/superq/md_raid0
9 years ago
Ben Kochie 8c809cd29a Add additional test for mdadm_linux collector
9 years ago
Ben Kochie a09bbaacd1 Add support for raid0 devices in mdadm_linux collector.
9 years ago
Julius Volz ffd96078e0 Merge pull request #241 from mrwacky42/ignore-fs-types
9 years ago
Sharif Nassar f0630d5cbb Do not export the filesystem type pattern
9 years ago
Anton Tolchanov fc3a7b7a97 Add NTP stratum to NTP collector
9 years ago
Chris Batey 387c64424b Use the offset calculation that includes round trip time in the ntp collector
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
Tobias Schmidt 3d81f25fdd Merge pull request #224 from giganteous/test-freebsd-netdev
9 years ago
Tobias Schmidt 6683a89f9e Merge pull request #226 from giganteous/fix-386-on-freebsd
9 years ago
Steve Durrheimer 60cbc9efc0
Make version informations consistent between prometheus components
9 years ago
Julius Volz c3b16c7b2e Remove lastlogin collector.
9 years ago
Kai Storbeck 53d0a7815b Add a unit test for the conversion
9 years ago
Matthias Schiffer 91ddafdb33 Add 'logind' exporter
9 years ago
Kai Storbeck dcfbf40dbf change caps of the constant
9 years ago
Kai Storbeck 365e688cec gofmt, a typo, and an unintended change crept in
9 years ago
Kai Storbeck aac89c524e This should fix it.
9 years ago
Kai Storbeck 1122ce49c7 fix the uint conversion to strings
9 years ago
Christoph Hack 5d35401a41 systemd-collector: support private/direct connections without dbus
9 years ago
Christian Svensson fff0298c68 Fix NTP server command line reference
9 years ago
Christian Schwarz 1fc84e2fb6 Re-implement CPU metrics collection through sysctls.
9 years ago
Christian Schwarz 2ca6280b82 Fix compile error on FreeBSD
9 years ago
Carlos Amedee 8578a3281a fix a small typo in an error message.
9 years ago
Pavel Borzenkov 5a085dcaf5 meminfo_numa: fix crash on CentOS 6 kernel
9 years ago
Tobias Schmidt e2163db0f7 Document os support of each collector
9 years ago
Tobias Schmidt 041de0e30c Fix go format style in filesystem collector
9 years ago
Tobias Schmidt d1f0f2247d Merge pull request #165 from pborzenkov/ksmd-collector
9 years ago
Tobias Schmidt 4d07881b5b Merge pull request #162 from wrouesnel/read_only_flag
9 years ago
Pavel Borzenkov 0e78ed63a6 Add new collector exposing 'ksmd' stats
9 years ago
Tobias Schmidt c47c011063 Fix go format style in mdadm collector
9 years ago
Tobias Schmidt f6f4fda1aa Merge pull request #168 from pborzenkov/per-numa-meminfo
9 years ago
afefelov 00e1db52bb Fix mdstat for devices in delayed resync state
9 years ago
Juergen Hoetzel 4c909d4793 Disable compilation of vmstat on !Linux target OS
9 years ago
Juergen Hoetzel e3437dc583 Fix build on 32-bit architectures
9 years ago
Pavel Borzenkov 21d473ffd4 Fix compilation without conntrack collector
9 years ago
Pavel Borzenkov c12d8ea927 Add new per NUMA node memory statistics collector
9 years ago
Björn Rabenstein fae388dcab Merge pull request #191 from erkki/fix_filefd
9 years ago
Richard Hartmann e8fdc4d160 collector/entropy_linux.go: Use canonical name for available entropy
9 years ago
Richard Hartmann aee580d8d8 Introduce entropy collector for Linux
9 years ago
Erkki Eilonen ff7106615e fix block nesting bug causing filefd values to never be updated post initial call
9 years ago
Florian Koch 5d5346af8a Add vmstat collector, enabled per default
9 years ago
Caskey L. Dickson ab9ee574fb Build cleanly under windows.
9 years ago
Juergen Hoetzel e02d99ebff Fix compilation on FreeBSD. Refs #139
9 years ago
Daniel Bechler fc3931c924 Add build_info metric similar to the one of Prometheus itself
9 years ago
Peter Fern 09e610ad37 Calculate Linux disk bytes read/written based on sector size (512B)
9 years ago
Brian Brazil a82b4c30cb Add linux conntrack collector.
9 years ago
Julius Volz 613f531280 Merge pull request #174 from audebert/systemd
9 years ago
Rémi Audebert 8628d60125 collector: systemd: collect whether the system is operational
9 years ago
Rémi Audebert 87ccaa39c9 collector: add systemd
9 years ago
Brian Brazil 2f0d697f8c Do a make format run.
9 years ago
Brian Brazil 7739fb4e12 Switch linux stat to using ConstMetric
9 years ago
Brian Brazil 6e20d89467 Merge pull request #169 from pborzenkov/ntp-fix-missing-arg
9 years ago
Pavel Borzenkov d773360d12 Add missing argument to fmt.Errorf function in 'ntp' collector
9 years ago
Pavel Borzenkov d1789be33e Fix compilation on OS X
9 years ago
Will Rouesnel 05539ee156 Add filesystem read-only metric node_filesystem_readonly
9 years ago
Bruno Bigras f74de8943b Fix flag name in textfile.go
9 years ago
Julius Volz 07b39499cd Fix protocol version setting in NTP collector.
9 years ago
Tobias Schmidt b11cd9c7d4 Merge pull request #158 from mischief/interrupts-openbsd
9 years ago
Tobias Schmidt fe40d8fce2 Merge pull request #159 from mischief/netdev-openbsd
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
Mikhail Salosin e7359706d4 Do not use flag before flag.Parse() was called
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
Nick Owens 2cb489253c collector: support 1,5,15m load averages for all unices
9 years ago
Nick Owens eb79937340 switch to github.com/prometheus/common/log for logging
9 years ago
Mikhail Salosin 10e65086ea Add NTP protocol version flag
9 years ago
Julius Volz 00e5d1334b Merge pull request #142 from crisidev/master
9 years ago
Matteo Bigoi e6ffeb4907 Reduce nesting in sanity check
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.
9 years ago
Matteo Bigoi 832ba9cc1d Add load5 and load15 to linux load metric
9 years ago
Tobias Schmidt 0faa12cacd Update end-to-end fixtures
9 years ago
Tobias Schmidt 500340bdde Remove logging in IPVS tests
9 years ago
Tobias Schmidt 7e2b65f942 Clean up lint errors
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
9 years ago
Julius Volz a25751e0b3 Fix occurreneces of initial uppercase in error strings.
9 years ago
Julius Volz 777a8ddd90 Remove unneeded `make` in empty slice initialization.
9 years ago
Ilia Choly 9c0302571f Add supervisord collector
9 years ago
Tobias Schmidt 52f79e699d Fix uname collector for arm/ppc64/ppc64le architectures
9 years ago
Kirk Russell 88c30557c0 Fixed minor compile time error
9 years ago
Harmen 5d6fb852bb fix copy-paste error in comment
9 years ago
Matthias Rampke 7c47338081 Add an end-to-end test.
9 years ago
Matthias Rampke 788ac9a859 Rearrange fixtures to match "real" proc and sys.
9 years ago
Matthias Rampke 85eb47197f Add a flag for the sysfs location.
9 years ago
Matthias Rampke 24c9db9600 Suppress log noise from textfile collector test.
9 years ago
Matthias Rampke 60dffaa9ff Fix mdadm collector.
9 years ago
Kirk Russell 89875cefe8 converted freebsd cpu metrics to seconds
9 years ago
Matthias Rampke 2d0d72b97d Add license headers to all code files.
9 years ago
Matthias Rampke 20b551ab2b Add flag to change the location of the procfs.
9 years ago
Björn Rabenstein cf3aa37f1a Merge pull request #120 from prometheus/move-to-common
9 years ago
beorn7 8f182d2f02 Move from client_golang/text to common/expfmt
9 years ago
Julius Volz 7de03b8d6b Merge pull request #119 from AlphaB/issue-95
9 years ago
Björn Rabenstein ca74e8ab3e Merge pull request #117 from TheTincho/forget-old-filesystems
9 years ago
Martín Ferrari e3f217ea45 Build filesystem_common only on linux and freebsd.
9 years ago
Julius Volz d8bf6daed9 Merge pull request #118 from TheTincho/forget-old-netdevs
9 years ago
Martín Ferrari 0161a36fa5 Fix formatting and variable names.
9 years ago
Martín Ferrari dace6dc48b Fix issues from code review, and split common code into filesystem_common.go.
9 years ago
Mikhail Salosin e41593de14 Add unix timestamp of the last service state change to runit collector
9 years ago
Martín Ferrari 13672ced48 Revamp the netdev collector to use throw-away ConstMetrics.
9 years ago
Mikhail Salosin 741fb66e1c Resolve go vet problems
9 years ago
Martín Ferrari 8c2316e8a9 Revamp the filesystem collector to use throw-away ConstMetrics.
9 years ago
Jonas Große Sundrup 9f2aa24e12 Add collector for metrics of linux software raids
9 years ago
Julius Volz 7b39ccc144 Add Linux uname collector.
9 years ago
Julius Volz 02956d2bcc Merge pull request #114 from chosenken/sockstat
9 years ago
Ken Herner 7569c6ce23 Initial implementation of file-nr
9 years ago
Ken Herner d6a1f0c7e3 Fixed sockstat test wording
9 years ago
Julius Volz 6f17231e44 Minor comment cleanups.
9 years ago
Julius Volz dd5fc6a3ca Merge pull request #111 from chosenken/sockstat
9 years ago
Ken Herner d4adef9881 Added new metric mem_bytes that reports the number of bytes used by TCP/UDP memory
9 years ago
Ken Herner 60a57a15d5 Updated sockstat build constraint
9 years ago
Ken Herner 356e1bb866 Added sockstat test file
9 years ago
Julius Volz e13f910427 Fix mtime reporting in textfile collector, add tests.
9 years ago
Alexey Palazhchenko 38e6e6b672 Fix debug output
9 years ago
Alexis Letessier 0028abc077 megacli: prevent crash when drive temperature is N/A
9 years ago
Jari Takkala 21ce0cbda9 Add support for stats from /proc/net/snmp as well.
10 years ago
Siavash Safi 8c4a5b0f65 stats: Fix formatting.
10 years ago
Siavash Safi dddb273dfc Fix some error messages.
10 years ago
Siavash Safi 93708f3dda devstat: Fix metric types, disable free metrics.
10 years ago
Siavash Safi f8ede82488 cpu: Fix build constraints.
10 years ago
Siavash Safi 9e66d4f2ae meminfo: Code cleanup.
10 years ago
Siavash Safi d303a2ebc3 loadavg: Fix build constraints.
10 years ago
Siavash Safi d80b2af492 loadavg: Split the collector for linux and other platforms.
10 years ago
Siavash Safi 720198e047 netdev: Code cleanup.
10 years ago
Siavash Safi 78bf63ffd8 filesystem: Code cleanup.
10 years ago
Siavash Safi 462b708742 cpu: Code cleanup.
10 years ago
Siavash Safi f93125ba10 loadavg: Remove unnecessary global variable.
10 years ago
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.
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
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.
10 years ago
Matthias Rampke 2ee8470004 remove cgo dependency
10 years ago
Matthias Rampke 37c7e5e60f Add IPVS stats collector.
10 years ago
Julius Volz 3ab0b1f915 Merge pull request #56 from kjmkznr/add-tcp-stat-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.
10 years ago
Stephen Shirley 54da76f575 Match fd0, not fda0
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
10 years ago
Brian Brazil 352cde6d20 Add text file exporter
10 years ago
Tobias Schmidt 0aacec2335 Fix ganglia namespace
10 years ago
Tobias Schmidt 74971c46ba Consolidate build flags
10 years ago
Tobias Schmidt 211ddf33f1 Consolidate collector selection
10 years ago
Tobias Schmidt 872f921867 Reduce number of global variables used
10 years ago
Tobias Schmidt 974f6fc762 Fix tests
10 years ago
Brian Brazil 96eaff8c7e Add an exporter for /proc/net/netstat, enabled by default.
10 years ago
Brian Brazil 1c17481a42 Collect at every scrape, rather than at regular intervals.
10 years ago
Johannes 'fish' Ziemke 9f6fc576df Look for slave_ and lower_ prefixed device in proc
10 years ago
Johannes 'fish' Ziemke 0bf0f67503 Add network bonding collector
10 years ago
Johannes 'fish' Ziemke b03ff7cb9b Fix format string in test
10 years ago
Johannes 'fish' Ziemke 2b3a112b54 Add time exporter
10 years ago
Johannes 'fish' Ziemke 32724a10b0 Add NTP exporter
10 years ago
Johannes 'fish' Ziemke 053db59122 Change metric prefix from raid to megacli
11 years ago
Johannes 'fish' Ziemke 50c66918d8 Merge pull request #18 from prometheus/add-megaraid-metrics
11 years ago
Johannes 'fish' Ziemke f47abc5d06 Add MegaCLI collector
11 years ago
Johannes 'fish' Ziemke 7cb4c0edb6 Fix tests
11 years ago
Bjoern Rabenstein 28468bebae Now also migrate gmond and runit.
11 years ago
Bjoern Rabenstein 0563ecd29d Migrated everything to new client_golang.
11 years ago
Brian Brazil c0f10e3a6d Update comment format.
11 years ago
Brian Brazil 09a3de1669 Changes per code review.
11 years ago
Brian Brazil 062443133e Add collector for /proc/stat, enabled by default.
11 years ago
Brian Brazil 3f0814f13b Add filesystem collector module, to report space used etc.
11 years ago
Brian Brazil b98ac0b050 Also ignore xvda1, as seen on AWS
11 years ago
Brian Brazil f9c6e4ca52 Ignore disk partitions by default, it's the disks themselves you usually want.
11 years ago
Brian Brazil 25ea90369c Split native collector into it's component parts and make them enablable.
11 years ago
Brian Brazil 964cdbfcc9 Trim down a bit per feedback.
11 years ago
Brian Brazil ffc811b337 Expand docs per code review.
11 years ago
Brian Brazil 6cdaf0e969 Change stats to follow name guidelines.
11 years ago
Julius Volz a22036788a Prefix Ganglia metrics with "ganglia_".
11 years ago
Johannes 'fish' Ziemke 3a4aa70afb Make collector testable and add native test
11 years ago
Johannes 'fish' Ziemke 3ac5222f8b Move exporter to main and listen/interval to flags
11 years ago