Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricSource ¶ added in v0.3.0
func NewUptimeSource ¶ added in v0.3.0
func NewUptimeSource() MetricSource
type MetricsEmitter ¶ added in v0.3.0
type MetricsEmitter struct {
// contains filtered or unexported fields
}
func NewMetricsEmitter ¶ added in v0.3.0
func NewMetricsEmitter(logger lager.Logger, interval time.Duration, metrics ...MetricSource) *MetricsEmitter
func (*MetricsEmitter) EmitMetrics ¶ added in v0.5.0
func (m *MetricsEmitter) EmitMetrics()
type MetricsSender ¶ added in v0.17.0
func (*MetricsSender) IncrementCounter ¶ added in v0.17.0
func (ms *MetricsSender) IncrementCounter(name string)
func (*MetricsSender) SendDuration ¶ added in v0.17.0
func (ms *MetricsSender) SendDuration(name string, duration time.Duration)
Click to show internal directories.
Click to hide internal directories.