Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stats ¶
type Stats interface { // Increment increase metric by 1 Increment(metric string, opt Option) error // Histogram samples observations and counts them in configurable buckets Histogram(metric string, value float64, opt Option) error // Gauge represents a single numerical value Gauge(metric string, value float64, opt Option) error // Add increase metric by value Add(metric string, value float64, opt Option) error }
Stats defines commonly used stats usecases.
Directories ¶
Path | Synopsis |
---|---|
Package statsmock is a generated GoMock package.
|
Package statsmock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.