Versions in this module Expand all Collapse all v1 v1.0.3 Jul 17, 2021 v1.0.1 Jul 17, 2021 Changes in this version + const CategoryMS + const KindClient + const KindServer + type Duration struct + Avg float64 + Range100 int64 + Range1200 int64 + Range1600 int64 + Range200 int64 + Range2000 int64 + Range300 int64 + Range400 int64 + Range50 int64 + Range500 int64 + Range800 int64 + RangeInf int64 + Sum float64 + type Endpoint struct + InterfaceName string + Method string + Path string + ServiceName string + type Invocation struct + Duration Duration + StatusCode []StatusCode + StatusSerial StatusSerial + SumAmount int64 + type MetricItem struct + Cateory string + Invocation Invocation + Kind string + Local *Endpoint + Period int64 + Remote *Endpoint + Timestamp int64 + type Monitor struct + func New() *Monitor + type Stat struct + Begin time.Time + Category string + End time.Time + Kind string + Local *Endpoint + Remote *Endpoint + StatusCode int + func NewStat(category string, kind string, local *Endpoint, remote *Endpoint) *Stat + func (s *Stat) HashCode() string + func (s *Stat) Record(statusCode int) + type StatusCode struct + Amount int64 + Code string + type StatusSerial struct + ClientErr int + ConnErr int + Informational int + OtherErr int + Redirection int + ServerErr int + Successful int + Timeout int + Unavailable int