mirror of
https://github.com/prometheus-community/smartctl_exporter.git
synced 2024-12-21 02:21:55 +01:00
c8d3e48f3d
Switch exporter over to standard Prometheus exporter flags and logging. This eliminates the need for a configuraion file. Signed-off-by: SuperQ <superq@gmail.com>
4 lines
170 B
Text
4 lines
170 B
Text
// Used in HTTP handlers, any error is handled by the server itself.
|
|
(net/http.ResponseWriter).Write
|
|
// Never check for logger errors.
|
|
(github.com/go-kit/log.Logger).Log
|