Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ForNerds = metrics.NewSet()
ForNerds captures metrics from various bifrost processes
Functions ¶
func MaybePushMetrics ¶
MaybePushMetrics pushes metrics to url if url is not empty. If interval is zero, a one minute interval is used Panics if there is an error pushing metrics.
func MetricsHandler ¶
func MetricsHandler(w http.ResponseWriter, _ *http.Request)
MetricsHandler is a HTTP handler that returns metrics from the ForNerds MetricsSet
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.