Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultHistogramObjectives is the default objectives used when creating a new Summary histogram // in the prometheus registry. // See https://godoc.org/github.com/prometheus/client_golang/prometheus#SummaryOpts DefaultHistogramObjectives = map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001, 0.999: 0.0001} )
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter interface { tally.StatsReporter HTTPHandler() http.Handler }
Reporter is a prometheus backed tally reporter
func NewReporter ¶
NewReporter returns a new Reporter for Prometheus client backed metrics objectives is the objectives used when creating a new Summary histogram for Timers. See https://godoc.org/github.com/prometheus/client_golang/prometheus#SummaryOpts for more details
Click to show internal directories.
Click to hide internal directories.