Documentation ¶
Overview ¶
Package onload automatically starts hmetrics reporting, ignoring errors and retrying reporting, backing off in 10 second increments.
Use this package when you don't care about stopping reporting, specifying the endpoint, or being notified of any reporting errors.
This package will log all reporting errors via the stdlib log package if the environment variable HMETRICS_VERBOSE is set to "1", or any other true-like value as defined by strconv#ParseBool (see $ godoc strconv for more information).
usage:
import ( _ "github.com/heroku/x/hmetrics/onload" )
See the package documentation at https://godoc.org/github.com/heroku/x/hmetrics for more info about Heroku Go metrics and advanced usage.
Click to show internal directories.
Click to hide internal directories.