Marc Tuduri
c01a7c2c57
use pointers
2023-09-27 18:00:19 +02:00
Marc Tuduri
96f13a2e27
Refactor collectors - part 3
2023-09-26 16:41:39 +02:00
Marc Tuduri
ed7a10dde2
Refactor collectors - part 2
2023-09-26 15:17:45 +02:00
Ben Kochie
9c6ff78e74
Refactor collector package configuration
...
Add a new pattern to allow moving the flag handling out of the collector
package and into a separate package. This allows collector package users
to create their own config or flag handling.
Signed-off-by: Ben Kochie <superq@gmail.com>
2023-07-21 16:08:45 +02:00
Ben Kochie
efa7f24698
Fix thermal_zone collector noise
...
Add a check for missing/unreadable thermal zone stats and ignore if not
availlable.
Fixes: https://github.com/prometheus/node_exporter/issues/2552
Signed-off-by: Ben Kochie <superq@gmail.com>
2022-12-22 12:30:20 +01:00
Julien Pivotto
68a6c78c0d
Update go to 1.17 ( #2159 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-10-03 13:35:24 +02:00
Ben Kochie
3bc9a93c20
Add ErrorLog plumbing to promhttp
...
Fix the error logging of the promhttp handler by connecting it to the
promlog setup.
* Switch to go-kit/log.
* Cleanup CHANGELOG.
Fixes: https://github.com/prometheus/node_exporter/issues/1886
Signed-off-by: Ben Kochie <superq@gmail.com>
2021-06-03 10:47:41 +02:00
Ben Ye
2477c5c67d
switch to go-kit/log ( #1575 )
...
Signed-off-by: yeya24 <yb532204897@gmail.com>
2019-12-31 17:19:37 +01:00
Julian Kornberger
043fecbfd8
Wrap errors in the Go 1.13 way
...
Signed-off-by: Julian Kornberger <jk+github@digineo.de>
2019-12-19 15:26:55 +01:00
Alex Schmitz
664025d60c
Scrape cooling_device state
...
Signed-off-by: Alex Schmitz <alex.schmitz@gmail.com>
2019-08-30 08:58:47 -05:00
Richard Kojedzinszky
75462bf4fe
Scrape thermal_zone temperatures ( #1425 )
...
* Scrape thermal_zone temperatures
Signed-off-by: Richard Kojedzinszky <richard@kojedz.in>
2019-08-04 12:56:36 +02:00