Dustin Hooten
b7626ecdbf
ProcessStatCollector: continue if PID disappears between opening and reading file
...
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
4 years ago
Ben Kochie
7904ea4af2
Update netdev OpenBSD amd64 filter
...
Use new filtering method from #1826
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Ben Kochie
40ce993d5b
Merge pull request #1816 from liiling/master
...
Fix node_scrape_collector_success behaviour
4 years ago
Ben Kochie
9fab63825b
Merge pull request #1753 from binjip978/entropy
...
add pool size to entropy collector
4 years ago
Ben Kochie
cb6509f1ac
Merge pull request #1826 from digineo/device-filter
...
Move ignore/accept to new netDevFilter struct
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
...
collector/filesystem: fixing logging message
4 years ago
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>
4 years ago
Ben Kochie
8a3cc9db05
Merge pull request #1694 from treydock/ib-counters
...
Add more IB counters
4 years ago
Ben Kochie
3b8a7f6ef3
Merge pull request #1774 from ston1th/openbsd_amd64
...
remove openbsd amd64 cgo dependecies
4 years ago
kamijin_fanta
67480c5e5b
repalce to jsimonetti/rtnetlink
...
Signed-off-by: kamijin_fanta <kamijin@live.jp>
4 years ago
kamijin_fanta
1f5898999e
add network_route collector
...
Signed-off-by: kamijin_fanta <kamijin@live.jp>
4 years ago
ston1th
91bec7c53c
fixed build
...
new type: `netDevStats map[string]map[string]uint64`
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
ston1th
1450a92a68
move const values to iota plus code cleanup
...
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
ston1th
bdba65df16
skip null bytes at the end of strings
...
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
ston1th
26bd6bf99d
more build fixes
...
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
ston1th
386992e984
fixed build
...
Signed-off-by: ston1th <ston1th@giftfish.de>
4 years ago
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>
4 years ago
Trey Dockendorf
0692791457
Add more IB counters
...
Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
4 years ago
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>
4 years ago
Artur Molchanov
519203e3d0
Expose zfs zpool state
...
Create a metric node_zfs_zpool_state.
Signed-off-by: Artur Molchanov <artur.molchanov@easybrain.com>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
Julius Volz
d05aac43e4
Fix capitalization of CPU acronym throughout
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Li Ling
bf154d485b
Differentiate ErrNoData and other errors ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
4 years ago
Li Ling
875f437fcc
Conntrack update: differentiate ErrNoData and other errors ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
4 years ago
Julian Kornberger
2d412c6ce6
Move ignore/accept to new netDevFilter struct
...
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
4 years ago
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>
4 years ago
Aleksei Zakharov
0478ddef69
bcache: add writeback_rate_debug stats ( #1658 )
...
* bcache: add writeback_rate_debug export
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
4 years ago
Li Ling
a26ffaf4f8
Failed conntrack update should return success=0 ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
4 years ago
Li Ling
f0332993ef
Empty collection should return success=0 ( #1323 , #1723 )
...
Signed-off-by: Li Ling <liiling@google.com>
4 years ago
Aleksei Zakharov
3b035c8fa1
bcache: add priorityStats flag ( #1621 )
...
* bcache: add priorityStats flag
Fixes #1593
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
4 years ago
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>
4 years ago
Karsten Weiss
b9b1d4e369
udp_queues_linux.go: s/upd/udp/ in two error strings
...
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
4 years ago
Ben Kochie
5d42d4d99f
Merge pull request #1732 from fach/master
...
Adding backlog/current queue length to qdisc collector
4 years ago
binjip978
488d10ef48
Merge branch 'master' into entropy
...
Signed-off-by: binjip978 <binjip978@gmail.com>
5 years ago
Ben Kochie
08ce3c6dd4
Merge pull request #1733 from prometheus/superq/OutRsts
...
Include TCP OutRsts in netstat metrics
5 years ago
binjip978
3e1cb10f55
change metric description to correct units
...
Signed-off-by: binjip978 <binjip978@gmail.com>
5 years ago
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>
5 years ago
binjip978
6d1a4ddb24
add pool size to entropy collector
...
Signed-off-by: binjip978 <binjip978@gmail.com>
5 years ago
Ben Kochie
64ba27e7d6
Fix up powersupplyclass error
...
Switch to go `%w` error verb and errors.Is().
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Ben Kochie
35bfe455df
Merge pull request #1735 from prometheus/bjk/bump_procfs
...
Update prometheus/procfs
5 years ago
Ben Kochie
c8c1618074
Merge pull request #1747 from prometheus/superq/fix_powersupplyclass
...
Handle no data from powersupplyclass
5 years ago
Ben Kochie
baa7ab732f
Update prometheus/procfs
...
Fixes: https://github.com/prometheus/node_exporter/issues/1721
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Ben Kochie
7790f96881
Merge pull request #1743 from prometheus/superq/flags
...
Improve filter flag names.
5 years ago
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>
5 years ago
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>
5 years ago
Jeffrey Stoke
cb7ab5119a
Fix collectors' build tags
...
Signed-off-by: Jeffrey Stoke <me@arhat.dev>
5 years ago
fach
79ef305a19
Updating e2e test output
...
Signed-off-by: fach <shaw38@gmail.com>
5 years ago