The Prometheus monitoring system and time series database.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// Don't flag lines such as "io.Copy(io.Discard, resp.Body)".
|
|
|
|
io.Copy
|
|
|
|
// The next two are used in HTTP handlers, any error is handled by the server itself.
|
|
|
|
io.WriteString
|
|
|
|
(net/http.ResponseWriter).Write
|
|
|
|
// No need to check for errors on server's shutdown.
|
|
|
|
(*net/http.Server).Shutdown
|
|
|
|
|
|
|
|
// Never check for logger errors.
|
|
|
|
(github.com/go-kit/log.Logger).Log
|
|
|
|
|
|
|
|
// Never check for rollback errors as Rollback() is called when a previous error was detected.
|
|
|
|
(github.com/prometheus/prometheus/storage.Appender).Rollback
|