Dustin Hooten
b7626ecdbf
ProcessStatCollector: continue if PID disappears between opening and reading file
...
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
2021-01-29 10:37:56 +01:00
Ben Kochie
7904ea4af2
Update netdev OpenBSD amd64 filter
...
Use new filtering method from #1826
Signed-off-by: Ben Kochie <superq@gmail.com>
2021-01-24 16:37:02 +01:00
Ben Kochie
40ce993d5b
Merge pull request #1816 from liiling/master
...
Fix node_scrape_collector_success behaviour
2021-01-24 15:28:41 +01:00
Ben Kochie
9fab63825b
Merge pull request #1753 from binjip978/entropy
...
add pool size to entropy collector
2021-01-24 14:57:33 +01:00
Ben Kochie
cb6509f1ac
Merge pull request #1826 from digineo/device-filter
...
Move ignore/accept to new netDevFilter struct
2021-01-24 14:55:29 +01:00
Ben Kochie
8536df5bbb
Merge branch 'master' into network_route
2021-01-24 14:46:00 +01:00
Ben Kochie
e785e06e85
Merge pull request #1884 from xinau/patch-1
...
collector/filesystem: fixing logging message
2021-01-24 14:40:36 +01:00
Ben Kochie
1d03daf616
Handle EPERM for syscall in timex collector
...
Handle case where Adjtimex syscall gets a permission denined error.
Fixes: https://github.com/prometheus/node_exporter/issues/1934
Signed-off-by: Ben Kochie <superq@gmail.com>
2021-01-23 14:22:46 +01:00
Ben Kochie
8a3cc9db05
Merge pull request #1694 from treydock/ib-counters
...
Add more IB counters
2020-12-14 01:07:58 +01:00
Ben Kochie
3b8a7f6ef3
Merge pull request #1774 from ston1th/openbsd_amd64
...
remove openbsd amd64 cgo dependecies
2020-12-14 01:06:03 +01:00
kamijin_fanta
67480c5e5b
repalce to jsimonetti/rtnetlink
...
Signed-off-by: kamijin_fanta <kamijin@live.jp>
2020-12-04 11:37:02 +09:00
kamijin_fanta
1f5898999e
add network_route collector
...
Signed-off-by: kamijin_fanta <kamijin@live.jp>
2020-12-04 10:32:34 +09:00
ston1th
91bec7c53c
fixed build
...
new type: `netDevStats map[string]map[string]uint64`
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:52:03 +01:00
ston1th
1450a92a68
move const values to iota plus code cleanup
...
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:57 +01:00
ston1th
bdba65df16
skip null bytes at the end of strings
...
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:57 +01:00
ston1th
26bd6bf99d
more build fixes
...
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:56 +01:00
ston1th
386992e984
fixed build
...
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:56 +01:00
ston1th
f8609aeee2
remove openbsd amd64 cgo dependecies
...
I have rewritten all CGO dependencies for OpenBSD amd64
using pure go, be able to crosscompile node_exporter.
Signed-off-by: ston1th <ston1th@giftfish.de>
2020-11-12 23:37:48 +01:00
Trey Dockendorf
0692791457
Add more IB counters
...
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2020-11-12 09:35:13 -05:00
xinau
daa7303a82
collector/filesystem: fixing logging message
...
this change fixes the logging message for the filesystem ignored-fs-types flag to output the flag instead of the mountpoints flag.
Signed-off-by: xinau <felix.ehrenpfort@protonmail.com>
2020-11-12 15:27:33 +01:00
Artur Molchanov
519203e3d0
Expose zfs zpool state
...
Create a metric node_zfs_zpool_state.
Signed-off-by: Artur Molchanov <artur.molchanov@easybrain.com>
2020-10-27 17:39:13 +03:00
Ondrej Baudys
ed10485073
Expose XFS inode statistics ( #1869 ) ( #1870 )
...
* Expose XFS inode statistics (#1869 )
Also fixes #1177
@SuperQ @discordianfish
Signed-off-by: Ondrej Baudys <obaudys@gmail.com>
Co-authored-by: obaudys@gmail.com <ondrej.baudys@nextgen.net>
2020-10-22 18:14:33 +02:00
Ben Kochie
306a365377
Downgrade CPU counter warnings
...
We've gathered enough evidence that the CPU counter bug workaround is
working as intended. Downgrade the message from Warning to Debug.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-10-01 12:41:15 +02:00
Christian Rohmann
a3aaf63bb1
Add check state for mdadm arrays via node_md_state metric ( #1810 )
...
* Expose metric for state=check for node_md_state
* Added new e2e output fixture including md201 which is in checking state and a the new state=check labeled metric for all other md
Signed-off-by: Christian Rohmann <github@frittentheke.de>
2020-09-27 13:44:45 +02:00
Julius Volz
d05aac43e4
Fix capitalization of CPU acronym throughout
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2020-09-03 23:34:33 +02:00
Li Ling
bf154d485b
Differentiate ErrNoData and other errors ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
2020-09-01 16:21:36 +02:00
Li Ling
875f437fcc
Conntrack update: differentiate ErrNoData and other errors ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
2020-08-26 14:35:39 +02:00
Julian Kornberger
2d412c6ce6
Move ignore/accept to new netDevFilter struct
...
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
2020-08-26 11:33:05 +02:00
Julian Kornberger
66fb6762bf
Netdev tweaks ( #1558 )
...
* Check interface name before loading interface data
* Reduce indentation
* Optimize nested netdev map
This change avoids conversion to strings and back.
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
2020-08-24 17:43:27 +02:00
Aleksei Zakharov
0478ddef69
bcache: add writeback_rate_debug stats ( #1658 )
...
* bcache: add writeback_rate_debug export
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
2020-08-24 17:40:31 +02:00
Li Ling
a26ffaf4f8
Failed conntrack update should return success=0 ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
2020-08-20 14:18:57 +02:00
Li Ling
f0332993ef
Empty collection should return success=0 ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
2020-08-20 14:09:55 +02:00
Aleksei Zakharov
3b035c8fa1
bcache: add priorityStats flag ( #1621 )
...
* bcache: add priorityStats flag
Fixes #1593
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
2020-08-10 16:50:58 +02:00
domchan
503e4fc848
Expose cpu bugs and flags as info metrics. ( #1788 )
...
* Expose cpu bugs and flags as info metrics with a regexp filter.
* Automatically enable CPU info metrics when using flags or bugs feature.
Signed-off-by: domgoer <domdoumc@gmail.com>
2020-07-17 18:32:23 +02:00
Karsten Weiss
b9b1d4e369
udp_queues_linux.go: s/upd/udp/ in two error strings
...
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
2020-06-29 15:00:15 +02:00
Ben Kochie
5d42d4d99f
Merge pull request #1732 from fach/master
...
Adding backlog/current queue length to qdisc collector
2020-06-22 20:15:04 +02:00
binjip978
488d10ef48
Merge branch 'master' into entropy
...
Signed-off-by: binjip978 <binjip978@gmail.com>
2020-06-19 08:50:51 +03:00
Ben Kochie
08ce3c6dd4
Merge pull request #1733 from prometheus/superq/OutRsts
...
Include TCP OutRsts in netstat metrics
2020-06-18 17:12:45 +02:00
binjip978
3e1cb10f55
change metric description to correct units
...
Signed-off-by: binjip978 <binjip978@gmail.com>
2020-06-16 18:29:22 +03:00
Ben Kochie
dfa53f835a
Use Go 1.13 error features
...
* Use `errors.Is()` for unwrapping errors.
* Use `%w` error verb in internal error formatting.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-06-16 14:47:03 +02:00
binjip978
6d1a4ddb24
add pool size to entropy collector
...
Signed-off-by: binjip978 <binjip978@gmail.com>
2020-06-16 08:06:40 +03:00
Ben Kochie
64ba27e7d6
Fix up powersupplyclass error
...
Switch to go `%w` error verb and errors.Is().
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-06-15 12:36:29 +02:00
Ben Kochie
35bfe455df
Merge pull request #1735 from prometheus/bjk/bump_procfs
...
Update prometheus/procfs
2020-06-15 07:44:34 +02:00
Ben Kochie
c8c1618074
Merge pull request #1747 from prometheus/superq/fix_powersupplyclass
...
Handle no data from powersupplyclass
2020-06-14 15:45:12 +02:00
Ben Kochie
baa7ab732f
Update prometheus/procfs
...
Fixes: https://github.com/prometheus/node_exporter/issues/1721
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-06-14 14:18:13 +02:00
Ben Kochie
7790f96881
Merge pull request #1743 from prometheus/superq/flags
...
Improve filter flag names.
2020-06-14 10:39:43 +02:00
Ben Kochie
5fed4f01e9
Handle no data from powersupplyclass
...
Handle the case when /sys/class/power_supply doesn't exist. Fixes
logging error spam.
Requires https://github.com/prometheus/procfs/pull/308
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-06-13 11:09:16 +02:00
Ben Kochie
7e49b68d3a
Improve filter flag names.
...
Update netdev and systemd collectors to deprecate poorly chosen flag names.
Old flag names to be removed in 2.0.0.
https://github.com/prometheus/node_exporter/issues/1742
Add log messages for parsed flag values to help discover quoting isuses in
supervisors.
https://github.com/prometheus/node_exporter/issues/1737
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-06-12 12:46:31 +02:00
Jeffrey Stoke
cb7ab5119a
Fix collectors' build tags
...
Signed-off-by: Jeffrey Stoke <me@arhat.dev>
2020-06-12 10:26:30 +02:00
fach
79ef305a19
Updating e2e test output
...
Signed-off-by: fach <shaw38@gmail.com>
2020-06-04 13:01:34 -04:00