| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
* bcache: add priorityStats flag
Fixes #1593
Signed-off-by: Aleksei Zakharov <zaharov@selectel.ru>
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Karsten Weiss <knweiss@gmail.com>
|
|\
| |
| | |
Adding backlog/current queue length to qdisc collector
|
| |
| |
| |
| | |
Signed-off-by: fach <shaw38@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: fach <shaw38@gmail.com>
|
|\ \
| | |
| | | |
Include TCP OutRsts in netstat metrics
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
TCP "OutRsts" is the number of TCP Resets sent by the node. This can be
useful for monitoring connection failures and flooding.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Use `errors.Is()` for unwrapping errors.
* Use `%w` error verb in internal error formatting.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Switch to go `%w` error verb and errors.Is().
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|\ \ \
| | | |
| | | | |
Update prometheus/procfs
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes: https://github.com/prometheus/node_exporter/issues/1721
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
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>
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
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>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Jeffrey Stoke <me@arhat.dev>
|
| | |
| | |
| | |
| | | |
Signed-off-by: David O'Rourke <david.orourke@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: David O'Rourke <david.orourke@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: David O'Rourke <david.orourke@gmail.com>
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
We must know the length of the various filesystem C strings before
turning them from a byte array into a Go string, otherwise our Go
strings could contain null bytes, corrupting the label values.
Signed-off-by: David O'Rourke <david.orourke@gmail.com>
|
|/
|
|
|
| |
Fixes #1708
Signed-off-by: Wing924 <weihe924stephen@gmail.com>
|
|\
| |
| | |
Use clearer usage string for `collector.ntp.server-is-local` option
|
| |
| |
| |
| |
| | |
Signed-off-by: Alex Nozdriukhin <alex-nozzz@mail.ru>
fixes #1662
|
|\ \
| | |
| | | |
Move regexp to global in meminfo_linux.go
|
| |/
| |
| |
| |
| |
| | |
Compile regexp outside of parsing function in meminfo_linux.go
Signed-off-by: Shapor Naghibzadeh <shapor@google.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Cache CPU metrics to avoid counters (ie iowait) jumping backwards.
Fixes: https://github.com/prometheus/node_exporter/issues/1686
Signed-off-by: Ben Kochie <superq@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Upstream x/sys/unix changed types.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|/
|
|
|
| |
* added objread functionality
Signed-off-by: Sudharshann D <sudhar287@gmail.com>
|
|
|
|
|
| |
* Fix accidently empty lines in meminfo_linux
Signed-off-by: qwertysun <qwertysun@tencent.com>
|
|
|
|
|
| |
* Add tracepoint collector option for perf collector
Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
|
|
|
|
|
| |
* Fix initialization in perf collector when using multiple CPUs
Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Two new states will be added to the tcpstat collector called rx_queued_bytes and tx_queued_bytes.
For UDP datagrams an additional collector 'udp_queues' can be used to expose the total lengths of the tx_queue and rx_queue.
@SuperQ and @discordianfish this changes gives us the option to check for overloaded UDP + TCP processing.
The names of the new TCP states and the UDP metric can be discussed.
The current reasons are just:
I don't want to add another collector for the same exposed file, so I just added the new states to the tcpstat collector.
I chose the name 'udp_queue' instead of 'udpstat' as UDP has no state.
Signed-off-by: Peter Bueschel <peter.bueschel@logmein.com>
|
|
|
| |
Signed-off-by: paulfantom <pawel@krupa.net.pl>
|
|
|
|
|
|
| |
* Metrics for IO errors and retries on Mac.
Signed-off-by: Tom Wilkie <tom@grafana.com>
|
|
|
|
|
|
|
|
|
| |
The `node_cpu_info` metric contains some information like the `model`
(which is an integer), but not the human readable model name. Also the
stepping of the processor might be interesting, since different stepping
of a processor might behave differently.
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
|
|
|
|
|
| |
Suppres error log noise if schedstat file doesn't exist.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|
|
|
|
|
| |
* Use `strconv.Itoa()` instead of `fmt.Sprintf()` for simple conversion.
* Eliminate copy-paste in collector setup.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add a map of profilers to CPUids
`runtime.NumCPU()` returns the number of CPUs that the process can run
on. This number does not necessarily correlate to CPU ids if the
affinity mask of the process is set.
This change maintains the current behavior as default, but also allows
the user to specify a range of CPUids to use instead.
The CPU id is stored as the value of a map keyed on the profiler
object's address.
Signed-off-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
Signed-off-by: Daniel Hodges <hodges@uber.com>
Co-authored-by: jdamato-fsly <55214354+jdamato-fsly@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
* new flag to disable all default collectors
Signed-off-by: Paul Gier <pgier@redhat.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many collectors depend on underlying features to be enabled. This causes
confusion about what "success" means. This changes the behavior of the
`node_scrape_collector_success` metric.
* When a collector is unable to find data don't return success.
* Catch the no data error and send to Debug log level to avoid log spam.
* Update collectors to support this new functionality.
* Fix copy-pasta mistake in infiband debug message.
Closes: https://github.com/prometheus/node_exporter/issues/1323
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|
|
|
|
|
|
| |
* Add a changelog entry.
* Remove redundant swap free metric.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|
|
| |
Signed-off-by: jonas <jonas.lindmark@denacode.se>
|
|
|
|
|
|
|
|
| |
* Add procfs/btrfs to vendor folder
* Add Btrfs collector
Resolves #1100
Signed-off-by: Silke Hofstra <silke@slxh.eu>
|
|
|
|
|
|
|
|
|
| |
Let the node exporter collect the non-numeric data from
/sys/class/infiniband: board ID, firmware version, and HCA type.
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
|
|
|
|
|
|
| |
* Adds metrics for UDP receive and send buffer errors
Signed-off-by: Phil Porada <philporada@gmail.com>
|
|
|
| |
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
|
|
|
|
|
|
|
|
| |
Reuse the Go-only implementation already in place for FreeBSD (#385) on
Darwin, DragonflyBSD, NetBSD and OpenBSD.
Tested on all affected platforms.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
|
|
|
|
|
| |
Update all vendoring to current releases.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|
|
|
|
| |
Bump to v0.0.10 procfs library.
Signed-off-by: Ben Kochie <superq@gmail.com>
|