aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | Merge pull request #1711 from prometheus/superq/cpu_cacheBen Kochie2020-05-25
|\ \ \ | | | | | | | | Linux CPU: Cache CPU metrics
| * | | Linux CPU: Cache CPU metricsBen Kochie2020-05-24
|/ / / | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #1707 from roidelapluie/docBen Kochie2020-05-18
|\ \ \ | | | | | | | | https: Fix htpasswd command
| * | | https: Fix htpasswd commandJulien Pivotto2020-05-18
|/ / / | | | | | | | | | Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* | | Merge pull request #1705 from prometheus/bjk/update_modBen Kochie2020-05-15
|\ \ \ | | | | | | | | Update Go modules
| * | | Update filesystem freebsdBen Kochie2020-05-14
| | | | | | | | | | | | | | | | | | | | | | | | Upstream x/sys/unix changed types. Signed-off-by: Ben Kochie <superq@gmail.com>
| * | | Update vendor/Ben Kochie2020-05-14
| | | | | | | | | | | | | | | | Signed-off-by: Ben Kochie <superq@gmail.com>
| * | | Update Go modulesBen Kochie2020-05-14
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * Bump to Go 1.14 minimum version. * Update vendoring Fixes: https://github.com/prometheus/node_exporter/issues/1704 Signed-off-by: Ben Kochie <superq@gmail.com>
* | | Release 1.0.0-rc.1v1.0.0-rc.1Ben Kochie2020-05-14
| | | | | | | | | | | | | | | | | | | | | * Update CHANGELOG with fixes and improvements from rc.0 Signed-off-by: Ben Kochie <superq@gmail.com> Signed-off-by: Richard Hartmann <richih@richih.org>
* | | read contents of objset file (#1632)Sudhar2872020-05-13
| | | | | | | | | | | | | | | * added objread functionality Signed-off-by: Sudharshann D <sudhar287@gmail.com>
* | | tls: enable the selection of more TLS settings (#1695)Julien Pivotto2020-05-13
| | | | | | | | | | | | | | | | | | | | | tls: enable the selection of more TLS settings * Rename `tls_config` to `tls_server_config`. * Add new http server config with HTTP/2 enabled by default. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* | | Finish the update to go 1.14 (#1696)Julien Pivotto2020-05-03
| | | | | | | | | | | | | | | * Finish the update to go 1.14 Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* | | Add basic authentication (#1683)Julien Pivotto2020-05-01
| | | | | | | | | | | | | | | * Add basic authentication Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* | | Merge pull request #1657 from povilasv/NodeTextFileCollectorScrapeErrorFrederic Branczyk2020-04-30
|\ \ \ | | | | | | | | Add NodeTextFileCollectorScrapeError alert to mixin
| * | | Add NodeTextFileCollectorScrapeError alert to mixinPovilas Versockas2020-03-31
| | | | | | | | | | | | | | | | Signed-off-by: Povilas Versockas <p.versockas@gmail.com>
* | | | Add init.d script for OpenWrt.Tom Wilkie2020-04-28
| | | | | | | | | | | | | | | | Signed-off-by: Tom Wilkie <tom@grafana.com>
* | | | Update go to 1.14 (#1692)Julien Pivotto2020-04-28
| | | | | | | | | | | | Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* | | | Add tls versionsJulien Pivotto2020-04-28
| | | | | | | | | | | | | | | | Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* | | | TLS: only support TLS 1.2Julien Pivotto2020-04-28
| |/ / |/| | | | | | | | | | | | | | TLS 1.0 and 1.1 are deprecated by major vendors (e.g. browsers). Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* | | Make TLS config consistent with Prometheus (#1685)Julien Pivotto2020-04-25
| |/ |/| | | Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* | Fix accidently empty lines in meminfo_linux (#1671)alpaca2020-04-17
| | | | | | | | | | * Fix accidently empty lines in meminfo_linux Signed-off-by: qwertysun <qwertysun@tencent.com>
* | Expose the function to generate tls.ConfigGoutham Veeramachaneni2020-04-17
| | | | | | | | | | | | | | | | We're looking to reuse this in Cortex to client side encrypt our connections and not having this exposed is making us copy this entire function. Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
* | Add perf tracepoint collection flag (#1664)Daniel Hodges2020-04-17
| | | | | | | | | | * 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 (#1665)Daniel Hodges2020-04-17
| | | | | | | | | | * Fix initialization in perf collector when using multiple CPUs Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
* | minor README doc fix re. collector.perf.cpusMichael Vorburger ⛑️2020-04-17
| | | | | | | | Signed-off-by: Michael Vorburger <mike@vorburger.ch>
* | fix typo in TIME.md (#1670)jangdm2020-04-09
| | | | | | | | | | fix typo in TIME.md Signed-off-by: jangdm <jamin4@naver.com>
* | Add more compatible rulesWOO CHANG HO2020-04-08
| | | | | | | | Signed-off-by: zodiac12k <zodiac12k@gmail.com>
* | Fix typo in README.mdJ0WI2020-04-08
| | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Update systemd example readme file (#1663)Fatih Degirmenci2020-04-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The readme file does not mention the need to create a folder named /var/lib/node_exporter/textfile_collector as a step. Lack of this folder results errors for node_exporter service which is visible in systemd status output. These errors possibly harmless but it is not good to have them still. $ sudo systemctl status node_exporter --- snipped --- Apr 04 14:51:35 ubuntu node_exporter[14713]: level=info ts=2020-04-04T14:51:35.584Z caller=node_exporter.go:190 msg="Listening on" address=:9100 Apr 04 15:05:34 ubuntu node_exporter[14876]: level=error ts=2020-04-04T15:05:34.464Z caller=textfile.go:197 collector=textfile msg="failed to read textfile collector directory" path=/var/lib/node_exporter/textfile_collector=textfile msg="failed to read textfile collector directory" path=/var/lib/node_exporter/textfile_collector err="open /var/lib/node_exporter/textfile_collector: no such file or directory" --- snipped --- Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
* | Add gauges for allocated memory for queued UDP and TCP packages (#1503)Peter Bueschel2020-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Add changelog entry for #1647Ben Kochie2020-03-27
| | | | | | | | Signed-off-by: Ben Kochie <superq@gmail.com>
* | collector/systemd: use regexp to extract systemd version (#1647)Paweł Krupa2020-03-27
| | | | | | Signed-off-by: paulfantom <pawel@krupa.net.pl>
* | Merge pull request #1649 from prometheus/beorn7/mixinBjörn Rabenstein2020-03-25
|\ \ | | | | | | Fix sign error in `NodeClockSkewDetected`
| * | Fix sign error in `NodeClockSkewDetected`beorn72020-03-25
|/ / | | | | | | Signed-off-by: beorn7 <beorn@grafana.com>
* | Merge pull request #1480 from paulfantom/time_offsetBjörn Rabenstein2020-03-23
|\ \ | |/ |/| docs/node-mixin: alert on desynchronised clock
| * docs/node-mixin: alert on desynchronised clockpaulfantom2020-03-23
|/ | | | Signed-off-by: paulfantom <pawel@krupa.net.pl>
* Merge pull request #1644 from Neraud/dev/fix_mixin_alertsBjörn Rabenstein2020-03-21
|\ | | | | [node-mixin] Add missing coma in alerts
| * Add missing comaNeraud2020-03-21
| | | | | | | | Signed-off-by: Neraud <neraud.login@gmail.com>
* | Metrics for IO errors on Mac. (#1636)Tom Wilkie2020-03-21
|/ | | | | | * Metrics for IO errors and retries on Mac. Signed-off-by: Tom Wilkie <tom@grafana.com>
* Add NodeHighNumberConntrackEntriesUsedPovilas Versockas2020-03-20
| | | | Signed-off-by: Povilas Versockas <p.versockas@gmail.com>
* Add model_name and stepping to node_cpu_info metricBenjamin Drung2020-03-20
| | | | | | | | | 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>
* Update procfs library (#1640)Ben Kochie2020-03-19
| | | | | | | | Bump procfs to latest release. Fixes: https://github.com/prometheus/node_exporter/issues/1625 Fixes: https://github.com/prometheus/node_exporter/issues/1634 Signed-off-by: Ben Kochie <superq@gmail.com>
* Catch missing schedstat file (#1641)Ben Kochie2020-03-19
| | | | | Suppres error log noise if schedstat file doesn't exist. Signed-off-by: Ben Kochie <superq@gmail.com>
* Make FS space alerts thresholds configurable (#1624)iuri aranda2020-03-02
| | | | | | | | | | | | * Make FS space alerts thresholds configurable (#1) This makes it possible to tweak the thresholds for the NodeFilesystemSpaceFillingUp alerts. Which might be necessary in systems like Kubernetes, where the image garbage collector runs at 85%, so it's not a problem that the disk reaches that usage %. Signed-off-by: iuri aranda <iuri@skyscrapers.eu>
* Enable golint (#1623)Ben Kochie2020-02-27
| | | | | | * Enable golint in golangci-lint tests. * Fix up minor linting issues. Signed-off-by: Ben Kochie <superq@gmail.com>
* Release 1.0.0-rc.0 (#1614)v1.0.0-rc.0Ben Kochie2020-02-20
| | | | | | | Update CHANGELOG/VERSION for 1.0.0-rc.0 release. * Add a note about new https settings to top-level README. * Mark --web.config flag as experimental. Signed-off-by: Ben Kochie <superq@gmail.com>
* Minor cleanup in perf collector (#1616)Ben Kochie2020-02-20
| | | | | | * Use `strconv.Itoa()` instead of `fmt.Sprintf()` for simple conversion. * Eliminate copy-paste in collector setup. Signed-off-by: Ben Kochie <superq@gmail.com>
* Fix num cpu (#1561)Daniel Hodges2020-02-20
| | | | | | | | | | | | | | | | | | | | * 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 (#1460)Paul Gier2020-02-20
| | | | | | | | * new flag to disable all default collectors Signed-off-by: Paul Gier <pgier@redhat.com> Co-authored-by: Ben Kochie <superq@gmail.com>
* Don't count empty collection as success (#1613)Ben Kochie2020-02-19
| | | | | | | | | | | | | | 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>