Commit Graph

987 Commits (4ec07ee08c5a94ace9164b08dbcc80ee3bfc1b8e)

Author SHA1 Message Date
Benoît Knecht 4851993a63 collector/netdev_linux_test.go: Add compatibility tests
2 years ago
Benoît Knecht a71d0bddc8 end-to-end-test.sh: Fix netdev metrics
2 years ago
Benoît Knecht f23a956c4f collector/netdev_linux.go: Use netlink to get stats
2 years ago
DavidVentura 6477a197da adjust expected output for 64k file
2 years ago
david c2085cf8ca flip branches for early return
2 years ago
david 75c05f3d97 remove error from signature; update doc for function
2 years ago
david 840d32622f check for nil isolatedCpus before calling updateIsolated
2 years ago
david 5340d1ec37 add debug log for not existent file
2 years ago
david c05af934af warn if isolcpus cannot be read and default to an empty slice
2 years ago
david 9ea9a5f029 only publish metrics for isolated cpus
2 years ago
david 698670bb6e add fixture & e2e output
2 years ago
david 5d68d5b9ad move logic to procfs; create a new metric for isolation
2 years ago
david 512e086dec Implement #2250: Add "isolated" label on cpu collector on linux
2 years ago
François Charlier 5a2c83d0f9 memory_bsd: add user_wired_bytes & laundry_bytes
2 years ago
Johannes 'fish' Ziemke d962e48ca2 Add sysctl collector
2 years ago
Johannes Ziemke f4e85bef0e Fix openbsd syscalls
2 years ago
Benoît Knecht 690efa61e8 collector/diskstats: Ignore udev when directory unreadable
2 years ago
Benoît Knecht 9ec7d6ba3c collector/diskstats: Only get device properties from udev
2 years ago
Benoît Knecht 296aa35dd2 end-to-end-test.sh: Use udev fixture and update output
2 years ago
Benoît Knecht 9b5d55e511 collector/diskstats: Add fixtures for udev data
2 years ago
Benoît Knecht 833216dc9e collector: Make udev data path optional
2 years ago
Benoît Knecht 75ceda8bb2 collector/diskstats: Don't use functions from Go 1.18
2 years ago
Benoît Knecht a997b6096d collector/diskstats: Add labels and metrics from udev
2 years ago
Nobuhiro MIKI 3ed95908d6 collector: add slab info
2 years ago
Ben Kochie 02f5005ac8
Add diskstat include/exclude flag to all platforms
2 years ago
rushilenekar20 8fcc6320a2
Add diskstats include and exclude device flags
2 years ago
Jonathan Davies 88f1811eb1
Add selinux collector (#2205)
2 years ago
Ben Kochie d2b8ee8f20
Add rapl zone label option (#2401)
2 years ago
dependabot[bot] b99f933713
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2 (#2411)
2 years ago
Ben Kochie 59c146e57d
Update end-to-end test for aarch64 (#2415)
2 years ago
Ben Kochie a516d4de4a
Cleanup cgroups collector (#2414)
2 years ago
Kobe Biello 45c75f1dbc
Add cgroup summary collector (#2408)
2 years ago
Ben Kochie 3999866a36
Merge pull request #2368 from mrueg/update-go-systemd
3 years ago
Ben Kochie ea85bfcc23
Merge pull request #2378 from prometheus/superq/devfilter
3 years ago
Ben Kochie e22382c5ec
Merge pull request #2372 from aneagoe/master
3 years ago
Tobias Klauser a8ebe3519e
collector: use ByteSliceToString from golang.org/x/sys/unix
3 years ago
Ben Kochie 1b6aaeb2e8
Rename netDevFilter helper
3 years ago
Andrei Neagoe 0e320e725b rapl_collector: fix issue with invalid metric name (#2299)
3 years ago
Manuel Rüger 21f9ce2c49 go.mod: Update coreos/go-systemd
3 years ago
Fionera 9ece38fca9 refactor: Use netlink for tcpstat collector
3 years ago
binjip978 e5f384dfe6 Fix staticcheck warnings on linux
3 years ago
Ben Kochie b52bf958f8
Merge pull request #2327 from pjjw/pjjw/powersupplyclass-darwin-old-sdk-fixes
3 years ago
Ben Kochie 9155971e07
Update Go modues
3 years ago
Peter Woodman 2370cccc1f
powersupplyclass_darwin: enable builds against older macOS SDK
3 years ago
Ben Kochie 9aae303a46
Merge pull request #2289 from tanguyfalconnet/ethtool-lock
3 years ago
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
4 years ago
Ben Kochie 27dc754aeb
Merge pull request #1832 from ventifus/master
4 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