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, pod 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 ¶
ReportQueueDepth captures queue depth metric.
func (*Reporter) ReportRequestCount ¶
ReportRequestCount captures request count metric.
Click to show internal directories.
Click to hide internal directories.