Documentation
¶
Overview ¶
Package prometheusbp provides common code used for exporting Prometheus metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBuckets = prometheus.ExponentialBuckets(0.0001, 2.5, 14) // 100us ~ 14.9s
DefaultBuckets is the default bucket values for a prometheus histogram metric.
Functions ¶
func BoolString ¶ added in v0.9.5
BoolString returns the string version of a boolean value that should be used in a prometheus metric label.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.