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 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
Ben Kochie
14df2a1a1a
Update to latest procfs library ( #1611 )
...
Bump to v0.0.10 procfs library.
Signed-off-by: Ben Kochie <superq@gmail.com>
2020-02-18 11:33:46 +01:00
Ben Kochie
f316099f87
Fix up softnet collector for go-kit change ( #1581 )
...
Add missing update for new go-kit logging change.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-31 19:36:39 +01:00
Peter Nicholson
a80b7d0bc5
Add softnet collector ( #1576 )
...
Signed-off-by: Peter Nicholson <petergoods@hotmail.com>
2019-12-30 01:36:10 +01:00