Commit Graph

1042 Commits (master)

Author SHA1 Message Date
Ben Kochie 086fdfed24
Merge pull request #2267 from bison/netdev-lock
3 years ago
W. Andrew Denton 402a00932d Add a reference to the Linux kernel's documentation for block stat.
3 years ago
W. Andrew Denton 84ce3a0103 diskstats_linux: always scale reads and writes by 512 bytes, not by device units.
3 years ago
Brad Ison cb7b5a755b
netdev_common: Add mutex around metricDescs access
3 years ago
Ben Kochie 5c0e4d61c8
Add systemd version as label string.
3 years ago
t-falconnet 5c8407b772 ethtool-linux: fix entry function
3 years ago
t-falconnet db87173be0 ethtool-linux: split between create and show entry
3 years ago
t-falconnet b0708e4c47 ethtool-linux: add remaining unlocked access to entries
3 years ago
t-falconnet 642f64b701 ethtool_linux: fix entry function
3 years ago
t-falconnet 4426962ec8 ethtool_linux: add mutex around entries access
3 years ago
Ben Kochie 5981bbe638
Refactor systemd version
3 years ago
Joe Groocock 64c4c39132
systemd: Expose systemd minor version
3 years ago
Robbie Lankford 4f27a4fd8e add additional vm_stat memory metrics for darwin
3 years ago
Lauri Tirkkonen 996563f972 filesystem_linux: exclude mounts under /var/lib/containers/storage
3 years ago
Ben Kochie eecc2b1dea
Add device filter flags to arp collector
3 years ago
heyitao 7dbf358915 delete duplicate items
3 years ago
Lapo Luchini 3136901a74
Ignore filesystems flagged as MNT_IGNORE. (#2227)
3 years ago
Ben Kochie 1d5afd05b5
Sanitize UTF-8 in dmi collector (#2229)
3 years ago
Jacob Vosmaer 5c8d162ca6
Add node_softirqs_total metric (#2221)
3 years ago
Matt Oshry 60a2668788
Handle nil CPU thermal power status on M1 (#2225)
3 years ago
Claudio Jeker 2cf3db8859 Also track the CPU Spin time for OpenBSD systems.
3 years ago
Martin Kennelly 4065902fe5
Add TCPTimeouts to netstat default filter (#2189)
3 years ago
Benjamin Drung f5ae31a84c
Disable lnstat collector by default (#2188)
3 years ago
Park Beomsu c861ba93aa
Remove redundant nil check (#2206)
3 years ago
Benjamin Drung d85cbaa17c
ethtool: Prevent duplicate metric names (#2187)
3 years ago
Tobias Klauser 58ab0144af Use SysctlTimeval for boottime collector on BSD
3 years ago
Johannes 'fish' Ziemke 85e20238e7
Add clocksource metrics to time collector (#2197)
3 years ago
Ben Kochie fda358a1ec
Workaround LLVM/Clang 11.0 for Darwin builds (#2200)
3 years ago
Benjamin Drung 2a28266852
ethtool: Add test case with leading spaces (#2186)
3 years ago
Benjamin Drung 0dc82eac13
Correctly disable ZFS for test cases (#2182)
3 years ago
Alessio Caiazza 6523fdfc4b
darwin powersupply collector (#1777)
3 years ago
Alessio Caiazza ee17ba0fc0
Fix imports when building on macos (#2180)
3 years ago
STRRL df7ea981f7
feat: new collector about thermal conditions on macos (#2032)
3 years ago
Benjamin Drung 9def2f9222
Add DMI collector (#2131)
3 years ago
ml 094ee24ad7
Ignore mountpoints under /run (#2157)
3 years ago
jordy1024 fbc23548b9
Fix timer GC delays in the Linux filesystem collector (#2169)
3 years ago
Matt Layher 8b198ce168
collector: replace fmt.Sprintf with strconv.Itoa in perfCollector (#2174)
3 years ago
W. Andrew Denton d514d67d7f ethtool: convert updateSpeeds to a loop.
3 years ago
W. Andrew Denton 56e6dcb1fa ethtool: add newline to settings fixture.
3 years ago
W. Andrew Denton 0f6c84214c ethtool: minor changes to resolve review nits.
3 years ago
W. Andrew Denton 77a3c9bc20 Gather additional link info from ethtool.
3 years ago
wenlxie 11bb2f8a95 support thread state
3 years ago
Kiril Vladimirov 1721de0c38
collector: Unwrap glob textfile directories (#1985)
3 years ago
Ben Kochie f67faf9d18
Fixup drm_linux.go build tag.
3 years ago
Siavash Safi 5f110dfeb8
Add initial support for monitoring GPUs on Linux (#1998)
3 years ago
Ben Kochie f61be48d94
Use include/exclude flags for ethtool filtering (#2165)
3 years ago
Julien Pivotto 68a6c78c0d
Update go to 1.17 (#2159)
3 years ago
Aleksei Zakharov 0e6b23c338
Lnstat: expose metrics from /proc/net/stat (#1771)
3 years ago
ventifus 0aec407666
Refactor diskstats (#2141)
3 years ago
Sergei Semenchuk 5de46c6bac
collect flag_info and bug_info only for one core (#2156)
3 years ago
Sergei Semenchuk 2b490d645e
add path label to rapl collector (#2146)
3 years ago
Sergei Semenchuk a0c20d48db
add node_network_address_info collector (#2105)
3 years ago
Benjamin Drung b6215e649c Add os release collector
3 years ago
Ben Kochie 84b36c4fd8
Add flag to disable guest CPU metrics
3 years ago
Benjamin Drung 26ca609183 ethtool: Expose node_ethtool_info metric
3 years ago
Benjamin Drung 6ac6ea2d13 ethtool: Sanitize metric names
3 years ago
Johannes 'fish' Ziemke e6b5aaaff4 Add collector.ethtool.metrics-include
3 years ago
Benjamin Drung 4356c09ebd ethtool: Use prometheus.BuildFQName
3 years ago
Benjamin Drung 3afd382e75 Add --collector.ethtool.ignored-devices
3 years ago
Ben Kochie 5d2a4cf7fb
Fix processes collector long int parsing
3 years ago
Ben Kochie 747012c59a
Merge pull request #2092 from prometheus/superq/fix_energy_uj
3 years ago
Ben Kochie 97d4b01691
Bump prometheus/procfs library
3 years ago
Ben Kochie 502f287c96
Fix rapl collector log noise
3 years ago
Ben Kochie 6ac7a53f45
Fix conntrack collector log noise
3 years ago
Ben Kochie 6793e0e5a8
Merge pull request #2019 from treydock/ib-counters
3 years ago
Ben Kochie 40766fd3cc
Merge pull request #2015 from ston1th/openbsd_mem_cache_fix
3 years ago
Ben Kochie f17a85d63d
Merge branch 'master' into netclass-filter-before-parsing
3 years ago
Ben Kochie a6ebe10455
Merge branch 'master' into nvme
3 years ago
Luiz Angelo Daros de Luca 00aa2f34ce Add tapestats to collect tape devices statistics
3 years ago
Ben Kochie 2510378a56
Merge pull request #2067 from prometheus/superq/idle_jump
3 years ago
Ben Kochie 73c9a10d37
Handle small backwards jumps in CPU idle
3 years ago
Trey Dockendorf f0b2449d94 Add more IB counters
3 years ago
Benjamin Drung b23146db3f Add nvme collector
3 years ago
Ben Kochie 839c2d557f
Update go-kstat location
3 years ago
Ben Kochie 13be860e25 Add time zone offset metric
3 years ago
Jan Fajerski e656b79297 netclass: retrieve interface names and filter before parsing
3 years ago
Ben Kochie 90d469805a
Fix Eof newline in collector/conntrack_linux.go
3 years ago
Kozlov Alexander 02ee897c03
Added conntrack statistics metrics (#1155)
3 years ago
Oliver Geiselhardt-Herms cc4f13b369 Fix build
3 years ago
Ben Kochie 27dc754aeb
Merge pull request #1832 from ventifus/master
3 years ago
ventifus 76c0e1e5a1
Update collector/ethtool_linux.go
4 years ago
Julien Pivotto 99af1dbb44 Update logic
4 years ago
Julien Pivotto 2e20d668f2 Only iniate collectors once
4 years ago
Ben Kochie e1db354611
Merge pull request #1887 from prometheus/superq/promhttp_errorlog
4 years ago
Ben Kochie 3bc9a93c20
Add ErrorLog plumbing to promhttp
4 years ago
kcx2366425574 9eff6761df fix the uncorrect word
4 years ago
W. Andrew Denton 892893ff05 ethtool: Log stats collection errors.
4 years ago
Hu Shuai 5ee20043a7 Fix golint issue caused by typo
4 years ago
W. Andrew Denton 807f3c3af3 ethtool: Remove end-to-end testing.
4 years ago
W. Andrew Denton 596ff45f8f ethtool: Add a new ethtool stats collector (metrics equivalent to "ethtool -S")
4 years ago
Ben Kochie 7b5cc3e505
Add Darwin arm64 build
4 years ago
ston1th 2b7aa4c303 Fix wrong value for OpenBSD memory buffer cache
4 years ago
Frederic Hemberger 39124626cd Rename `collector.filesystem` flags to match other collectors
4 years ago
Ben Kochie 81caeb6a1b
Merge pull request #2000 from prometheus/fixpanic-systemd-backwards-compat
4 years ago
Ben Kochie 9893fca77e
Add flag to ignore network speed if it is unknown
4 years ago
Julien Pivotto e7649ba48e Fix panix when using backwards compatible flags
4 years ago
Ben Kochie 3b3ef7357f
Silence missing netclass errors
4 years ago
Ben Kochie 23e5b245a4
Sanitize strings from /sys/class/power_supply
4 years ago
Ben Kochie 46d0a0813f
Handle errors from disabled PSI subsystem
4 years ago
Ben Kochie 5a6551e8ae
Fix some noisy log lines
4 years ago
Hu Shuai 4109a5089f Fix ineffassign issue
4 years ago
Ben Kochie a37d3f659c
Release 1.1.0
4 years ago
Ben Kochie 43b91ac846
Merge pull request #1954 from prometheus/superq/noisy_rapl
4 years ago
Ben Kochie dc5a94c803
Fix rapl collector log noise
4 years ago
Ben Kochie 0b0c5624e1
Fix network_route collector naming
4 years ago
Ben Kochie 1729558e11
Merge pull request #1922 from kwisniewski98/zone
4 years ago
Ben Kochie 78682c80af
Merge pull request #1786 from deusnefum/master
4 years ago
mhiles 5a28930e2e change fc_host everywhere, update fixtures
4 years ago
Ben Kochie 22c5aeb0ef
Merge pull request #1943 from hs0210/work
4 years ago
Ben Kochie 477a192803
Merge pull request #1947 from Oloremo/supervisord_env_vars
4 years ago
mhiles 56eba80306 add fibrechannel to default list in read me; host -> fc_host to avoid name collision
4 years ago
Matthew Hiles 3fcccd5b14 Update collector/fibrechannel_linux.go
4 years ago
mhiles 19790920b2 update fibrechannel fixture
4 years ago
mhiles 6e02d5bff1 invalid_tx_word_total -> invalid_tx_words_total
4 years ago
Dustin Hooten eecfbcd610 PR feedback
4 years ago
Dustin Hooten b7626ecdbf ProcessStatCollector: continue if PID disappears between opening and reading file
4 years ago
Proskurin Kirill 8d147327a6 feat: Added an ability to pass collector.supervisord.url via SUPERVISORD_URL environment variable
4 years ago
Wisniewski, Krzysztof2 997a8fbb7f Add zoneinfo collector
4 years ago
Hu Shuai 0900cb5655 bcache: fix typo
4 years ago
Ben Kochie 7904ea4af2
Update netdev OpenBSD amd64 filter
4 years ago
Ben Kochie 40ce993d5b
Merge pull request #1816 from liiling/master
4 years ago
Ben Kochie 9fab63825b
Merge pull request #1753 from binjip978/entropy
4 years ago
Ben Kochie cb6509f1ac
Merge pull request #1826 from digineo/device-filter
4 years ago
Ben Kochie 8536df5bbb
Merge branch 'master' into network_route
4 years ago
Ben Kochie e785e06e85
Merge pull request #1884 from xinau/patch-1
4 years ago
Ben Kochie 1d03daf616
Handle EPERM for syscall in timex collector
4 years ago
Ben Kochie 8a3cc9db05
Merge pull request #1694 from treydock/ib-counters
4 years ago
Ben Kochie 3b8a7f6ef3
Merge pull request #1774 from ston1th/openbsd_amd64
4 years ago
kamijin_fanta 67480c5e5b repalce to jsimonetti/rtnetlink
4 years ago
kamijin_fanta 1f5898999e add network_route collector
4 years ago
ston1th 91bec7c53c fixed build
4 years ago
ston1th 1450a92a68 move const values to iota plus code cleanup
4 years ago
ston1th bdba65df16 skip null bytes at the end of strings
4 years ago
ston1th 26bd6bf99d more build fixes
4 years ago
ston1th 386992e984 fixed build
4 years ago
ston1th f8609aeee2 remove openbsd amd64 cgo dependecies
4 years ago
Trey Dockendorf 0692791457 Add more IB counters
4 years ago
xinau daa7303a82 collector/filesystem: fixing logging message
4 years ago
Artur Molchanov 519203e3d0 Expose zfs zpool state
4 years ago
Ondrej Baudys ed10485073
Expose XFS inode statistics (#1869) (#1870)
4 years ago
Ben Kochie 306a365377 Downgrade CPU counter warnings
4 years ago
Christian Rohmann a3aaf63bb1
Add check state for mdadm arrays via node_md_state metric (#1810)
4 years ago
Julius Volz d05aac43e4 Fix capitalization of CPU acronym throughout
4 years ago
Li Ling bf154d485b Differentiate ErrNoData and other errors (#1323, #1723)
4 years ago
Li Ling 875f437fcc Conntrack update: differentiate ErrNoData and other errors (#1323, #1723)
4 years ago
Julian Kornberger 2d412c6ce6 Move ignore/accept to new netDevFilter struct
4 years ago
Julian Kornberger 66fb6762bf
Netdev tweaks (#1558)
4 years ago
Aleksei Zakharov 0478ddef69
bcache: add writeback_rate_debug stats (#1658)
4 years ago
Li Ling a26ffaf4f8 Failed conntrack update should return success=0 (#1323, #1723)
4 years ago
Li Ling f0332993ef Empty collection should return success=0 (#1323, #1723)
4 years ago
Aleksei Zakharov 3b035c8fa1
bcache: add priorityStats flag (#1621)
4 years ago
domchan 503e4fc848
Expose cpu bugs and flags as info metrics. (#1788)
4 years ago
mhiles 10f6841caf counter compliance again
4 years ago
mhiles d80ae383b7 conform to metric naming conventions
4 years ago
mhiles 076c953488 update fixtures / e2e test for fibre channel
4 years ago
mhiles 62403d6748 add fibre channel collector
4 years ago
Karsten Weiss b9b1d4e369 udp_queues_linux.go: s/upd/udp/ in two error strings
4 years ago
Ben Kochie 5d42d4d99f
Merge pull request #1732 from fach/master
4 years ago
binjip978 488d10ef48 Merge branch 'master' into entropy
4 years ago
Ben Kochie 08ce3c6dd4
Merge pull request #1733 from prometheus/superq/OutRsts
4 years ago
binjip978 3e1cb10f55 change metric description to correct units
5 years ago
Ben Kochie dfa53f835a
Use Go 1.13 error features
5 years ago
binjip978 6d1a4ddb24 add pool size to entropy collector
5 years ago
Ben Kochie 64ba27e7d6 Fix up powersupplyclass error
5 years ago
Ben Kochie 35bfe455df
Merge pull request #1735 from prometheus/bjk/bump_procfs
5 years ago
Ben Kochie c8c1618074
Merge pull request #1747 from prometheus/superq/fix_powersupplyclass
5 years ago
Ben Kochie baa7ab732f
Update prometheus/procfs
5 years ago
Ben Kochie 7790f96881
Merge pull request #1743 from prometheus/superq/flags
5 years ago
Ben Kochie 5fed4f01e9
Handle no data from powersupplyclass
5 years ago
Ben Kochie 7e49b68d3a
Improve filter flag names.
5 years ago
Jeffrey Stoke cb7ab5119a
Fix collectors' build tags
5 years ago
fach 79ef305a19 Updating e2e test output
5 years ago
fach 0ea8978788 Adding backlog/current queue length to qdisc collector
5 years ago
Ben Kochie 204164e4e4
Include TCP OutRsts in netstat metrics
5 years ago
David O'Rourke 217bbdd6b9 helper_test: Fix copyright year
5 years ago
David O'Rourke 03450a4d7d filesystem_freebsd: Use bytesToString to get label values
5 years ago
David O'Rourke d6fbce1529 helper: Add new bytesToString function and tests
5 years ago
David O'Rourke 4c06e33c23 filesystem_freebsd: Fix label values
5 years ago
Wei He 0253277121
Add flag to aggr ipvs metrics to avoid high cardinality metrics (#1709)
5 years ago
Ben Kochie 2aef188bc8
Merge pull request #1679 from alexnoz/ntp-usage-str-fix
5 years ago
Ben Kochie f3073755a3
Merge pull request #1690 from shapor/patch-1
5 years ago
Ben Kochie 3565316d7e
Linux CPU: Cache CPU metrics
5 years ago
Ben Kochie b532c81da7
Update filesystem freebsd
5 years ago
Sudhar287 6807e5319b
read contents of objset file (#1632)
5 years ago
Shapor Naghibzadeh a1a3633d89 Move regexp to global in meminfo_linux.go
5 years ago
Alex Nozdriukhin 744e334ef9 Use clearer usage string for `collector.ntp.server-is-local` option
5 years ago
alpaca fa4edd700e
Fix accidently empty lines in meminfo_linux (#1671)
5 years ago
Daniel Hodges b14168cf6a
Add perf tracepoint collection flag (#1664)
5 years ago
Daniel Hodges 44357ed677
Fix initialization in perf collector when using multiple CPUs (#1665)
5 years ago
Peter Bueschel da5972b539
Add gauges for allocated memory for queued UDP and TCP packages (#1503)
5 years ago
Paweł Krupa 1771fc87d9
collector/systemd: use regexp to extract systemd version (#1647)
5 years ago
Tom Wilkie 6496c24d61
Metrics for IO errors on Mac. (#1636)
5 years ago
Benjamin Drung 34d50e15d5 Add model_name and stepping to node_cpu_info metric
5 years ago
Ben Kochie e49a13d0cf
Catch missing schedstat file (#1641)
5 years ago
Ben Kochie c4183f9935
Minor cleanup in perf collector (#1616)
5 years ago
Daniel Hodges ec62141388
Fix num cpu (#1561)
5 years ago
Paul Gier b40954dce5
new flag to disable all default collectors (#1460)
5 years ago
Ben Kochie 3e1b0f1bee
Don't count empty collection as success (#1613)
5 years ago
Ben Kochie 1a75bc7b50
Fix up Darwin swap metrics
5 years ago
jonas-lindmark 9828533697
Swap usage on darwin from sysctl vm.swapusage (#1608)
5 years ago
Silke Hofstra 8faa843fc4
Add Btrfs collector (#1512)
5 years ago
Benjamin Drung ca1ac435ea
Collect non-numeric data from /sys/class/infiniband (#1563)
5 years ago
Phil Porada 14eafab016
Adds metrics and tests for UDP receive and send buffer errors (#1534)
5 years ago
Julian Kornberger cfcaeee145
Use strconv.Itoa() instead of fmt.Sprintf() (#1566)
5 years ago
Tobias Klauser 6ad94ae4bc
Implement loadavg on all BSDs without cgo (#1584)
5 years ago
Ben Kochie 1567cefdae
Bump all vendoring (#1612)
5 years ago
Ben Kochie 14df2a1a1a
Update to latest procfs library (#1611)
5 years ago
Johannes 'fish' Ziemke dcfd610433
systemd: Clarify private flag description (#1587)
5 years ago
Julien Pivotto 84c6446094 netdev: clean zero-value assignments
5 years ago
Ben Kochie 92ea3c6a3f Fix inifiband collector log noise (#1599)
5 years ago
Ukri Niemimuukko eac3e30f7f rapl_linux collector
5 years ago
Paul Cameron 9bb37873a8 Add unix socket support for supervisord collector (#1592)
5 years ago
Peter Tribble e7a27366a0 Fix Solaris build (typos in function names) (#1522)
5 years ago
Thomas Lin 3ddc82c2d8 Fixed inaccurate 'node_network_speed_bytes' when speeds are low (#1580)
5 years ago
Ben Kochie f316099f87
Fix up softnet collector for go-kit change (#1581)
5 years ago
Ben Ye 2477c5c67d switch to go-kit/log (#1575)
5 years ago
Peter Nicholson a80b7d0bc5 Add softnet collector (#1576)
5 years ago
Julian Kornberger cafb12dc59 Add cause to error message
5 years ago
Julian Kornberger 043fecbfd8 Wrap errors in the Go 1.13 way
5 years ago
Matthieu Guegan 2cae917bb7 fix OpenBSD cache memory information (#1542)
5 years ago
Matt Layher da6b66371f collector: reimplement sockstat collector with procfs (#1552)
5 years ago
Holger Hoffstätte 3c2c4e7b3c Add new counters for flush requests in Linux 5.5 (#1548)
5 years ago
Ben Kochie 67d3010a79
Add fixture update helper (#1551)
5 years ago
Benjamin Drung 04fbcfffa1 Collect InfiniBand port state and physical state (#1357)
5 years ago
Matt Layher 177ac7f50f collector: refactor textfile collector to avoid looping defer
5 years ago
Sven Haardiek d089776e8b
Squashed commit of the following:
5 years ago
Ben Kochie 74a90e81c0
Merge pull request #1486 from mknapphrt/mount_timeout
5 years ago
Mark Knapp c9603c6ea2 Add a flag to adjust mount timeout
5 years ago
John Belmonte 15e36e2230 fix typo in cpufreq metric names (#1510)
5 years ago
Ben Kochie fb54f7f2e0
Merge pull request #1489 from pgier/cpuinfo
5 years ago
Matt Layher ce693648d3
collector: clean up DRBD collector, less global state
5 years ago
Matt Layher a1659da2e7
collector: remove commented-out import from bcache collector
5 years ago
Paul Gier 4d72cb8059 add node_cpu_info metric
5 years ago
Benjamin Drung 27b8c93a5a Use InfiniBandClass from procfs library (#1396)
5 years ago
Ben Kochie 82b7b1f732
Merge branch 'master' into coolingDevice
5 years ago
dt-rush 93fbb93a46 fix issue where rootfs path strips to the empty string (#1464)
5 years ago
Paul Gier 8c3de12c22 systemd: check version for availability of properties (#1413)
5 years ago
Alex Schmitz 664025d60c
Scrape cooling_device state
5 years ago
Boris Momčilović 93c12e03a1 Ipvs firewall mark (#1455)
5 years ago
Phil Frost 26d4fbdf07 Fix seconds reported by schedstat (#1426)
5 years ago
Richard Kojedzinszky 75462bf4fe Scrape thermal_zone temperatures (#1425)
5 years ago
Philip Gough 2d95ecaa96 Extends uname collector to export on Darwin OS (#1433)
5 years ago
Dipack P Panjabi a7452023db Added mountinfo changes to node_exporter (#1417)
5 years ago
Matthias Rampke b133213c7a Report non-fatal collection errors in the exporter metric. (#1439)
5 years ago
dt-rush 5d3e2ce2ef properly strip path.rootfs from mountpoint labels (#1421)
5 years ago
Steven Kreuzer d8e47a9f9f Expose additional XFS runtime statistics (#1423)
5 years ago
detailyang 7fe9713edf bugfix: avoid nil reference when ignore is nil (#1414)
5 years ago
Phil Frost f693a71c06 Scrape CPU latency stats from /proc/schedstat (#1389)
5 years ago
秋葉 777b751f90 read /proc/net files with a single read syscall (#1380)
5 years ago
Derek Marcotte 3d504bc5cb Added FreeBSD zfs support per #1063. (#1394)
5 years ago