Documentation ¶
Index ¶
Constants ¶
View Source
const Help = `` /* 207-byte string literal not displayed */
Help is a help message on available metrics.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorsMetric ¶
type ErrorsMetric struct {
Statistics recorders.Statistics
}
ErrorsMetric fetches data from statistics.
func (*ErrorsMetric) Name ¶
func (m *ErrorsMetric) Name() string
Name returns the name of the errors statistic.
func (*ErrorsMetric) Setup ¶
func (m *ErrorsMetric) Setup(options interface{}) error
Setup prepares errors metric.
type ErrorsMetricOptions ¶
ErrorsMetricOptions represents errors metric options.
type LatencyMetric ¶
type LatencyMetric struct {
// contains filtered or unexported fields
}
LatencyMetric fetches data from statistics.
func (*LatencyMetric) Name ¶
func (m *LatencyMetric) Name() string
Name returns the name of the errors statistic.
func (*LatencyMetric) Setup ¶
func (m *LatencyMetric) Setup(options interface{}) error
Setup prepares errors metric.
Click to show internal directories.
Click to hide internal directories.