Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPrometheusPanic = errors.New("The Prometheus client panicked. Did you do something like change the tag cardinality or the type of a metric?")
ErrPrometheusPanic is a catch-all for the panics which can be thrown by the Prometheus client:
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter is an implementation of metrics.Reporter:
func (*Reporter) Count ¶
Count is a counter with key/value tags: New values are added to any previous one (eg "number of hits")
Click to show internal directories.
Click to hide internal directories.