Documentation ¶
Index ¶
Constants ¶
View Source
const ( CategoryMS = "MS" KindClient = "CLIENT" KindServer = "SERVER" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
type Duration struct { Avg float64 `json:"avg_ms"` Sum float64 `json:"sum_ms"` Range50 int64 `json:"range_50_ms,omitempty"` Range100 int64 `json:"range_50_100_ms,omitempty"` Range200 int64 `json:"range_100_200_ms,omitempty"` Range300 int64 `json:"range_200_300_ms,omitempty"` Range400 int64 `json:"range_300_400_ms,omitempty"` Range500 int64 `json:"range_400_500_ms,omitempty"` Range800 int64 `json:"range_500_800_ms,omitempty"` Range1200 int64 `json:"range_800_1200_ms,omitempty"` Range1600 int64 `json:"range_1200_1600_ms,omitempty"` Range2000 int64 `json:"range_1600_2000_ms,omitempty"` RangeInf int64 `json:"range_2000_ms,omitempty"` }
type Invocation ¶
type Invocation struct { SumAmount int64 `json:"sum_amount"` StatusCode []StatusCode `json:"status_code"` StatusSerial StatusSerial `json:"status_serial"` Duration Duration `json:"duration"` }
type MetricItem ¶
type Stat ¶
type StatusCode ¶
type StatusSerial ¶
type StatusSerial struct { Informational int `json:"informational"` Successful int `json:"successful"` Redirection int `json:"redirection"` ClientErr int `json:"client_error"` ServerErr int `json:"server_error"` ConnErr int `json:"connect_error"` Timeout int `json:"timeout_error"` OtherErr int `json:"other_error"` }
Click to show internal directories.
Click to hide internal directories.