Documentation ¶
Index ¶
Constants ¶
View Source
const (
UnknownName = "unknown"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStats ¶
type AppStats struct { AppUUID *events.UUID AppId string NonContainerStdout int64 NonContainerStderr int64 ContainerArray []*ContainerStats ContainerTrafficMap map[string]*TrafficStats // ISSUE: Must do this at clone time because of AvgTracker counter TotalTraffic *TrafficStats }
func ConvertFromMap ¶
func ConvertFromMap(statsMap map[string]*AppStats, appMdMgr *app.AppMetadataManager) []*AppStats
func NewAppStats ¶
type ContainerStats ¶
type ContainerStats struct { ContainerIndex int Ip string ContainerMetric *events.ContainerMetric LastUpdate time.Time OutCount int64 ErrCount int64 }
func NewContainerStats ¶
func NewContainerStats(containerIndex int) *ContainerStats
type TrafficStats ¶
type TrafficStats struct { ResponseL60Time *util.AvgTracker AvgResponseL60Time float64 // updated after a clone of this object EventL60Rate int // updated after a clone of this object ResponseL10Time *util.AvgTracker AvgResponseL10Time float64 // updated after a clone of this object EventL10Rate int // updated after a clone of this object ResponseL1Time *util.AvgTracker AvgResponseL1Time float64 // updated after a clone of this object EventL1Rate int // updated after a clone of this object HttpAllCount int64 Http2xxCount int64 Http3xxCount int64 Http4xxCount int64 Http5xxCount int64 }
func NewTrafficStats ¶
func NewTrafficStats() *TrafficStats
Click to show internal directories.
Click to hide internal directories.