Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter holds cached metric objects to report queue proxy metrics.
func NewStatsReporter ¶
func NewStatsReporter(ns, service, config, rev string, countMetric *stats.Int64Measure, latencyMetric *stats.Float64Measure, queueSizeMetric *stats.Int64Measure) (*Reporter, error)
NewStatsReporter creates a reporter that collects and reports queue proxy metrics.
func (*Reporter) ReportQueueDepth ¶ added in v0.9.0
ReportQueueDepth captures response time requests
func (*Reporter) ReportRequestCount ¶
ReportRequestCount captures request count metric.
Click to show internal directories.
Click to hide internal directories.