Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsoleOutput ¶
func ConsoleOutput()
Types ¶
type HttpMetrics ¶
type HttpMetrics struct { ResponseCodes map[int]gmetrics.Meter ResponseRanges map[string]gmetrics.Meter // contains filtered or unexported fields }
func NewHttpMetrics ¶
func NewHttpMetrics(prefix string) HttpMetrics
func (*HttpMetrics) MarkResponseCode ¶
func (hm *HttpMetrics) MarkResponseCode(statusCode int)
type ProxyMetrics ¶
type ProxyMetrics struct { Requests gmetrics.Meter CmdReply gmetrics.Meter CmdForward gmetrics.Meter RequestBodySize gmetrics.Histogram }
func NewProxyMetrics ¶
func NewProxyMetrics() ProxyMetrics
type UpstreamMetrics ¶
type UpstreamMetrics struct { Requests gmetrics.Meter Failovers gmetrics.Meter Latency gmetrics.Timer Http *HttpMetrics }
func GetUpstreamMetrics ¶
func GetUpstreamMetrics(upstreamId string) *UpstreamMetrics
func NewUpstreamMetrics ¶
func NewUpstreamMetrics(upstreamId string) UpstreamMetrics
Click to show internal directories.
Click to hide internal directories.