Documentation
¶
Index ¶
- type CommonData
- func (cd *CommonData) AppsNotInDesiredState() int
- func (cd *CommonData) GetDisplayAppStatsMap() map[string]*DisplayAppStats
- func (cd *CommonData) GetMonitoredAppGuids() map[string]bool
- func (cd *CommonData) IsMonitoredAppGuid(appGuid string) bool
- func (cd *CommonData) IsWarmupComplete() bool
- func (cd *CommonData) PostProcessData() map[string]*DisplayAppStats
- func (cd *CommonData) SetMonitoredAppGuids(monitoredAppGuids map[string]bool)
- func (cd *CommonData) TotalCrash1hCount() int
- func (cd *CommonData) TotalCrash24hCount() int
- type DisplayAppStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonData ¶
type CommonData struct {
// contains filtered or unexported fields
}
func NewCommonData ¶
func NewCommonData(router *eventrouting.EventRouter, monitoredAppGuids map[string]bool) *CommonData
func (*CommonData) AppsNotInDesiredState ¶
func (cd *CommonData) AppsNotInDesiredState() int
func (*CommonData) GetDisplayAppStatsMap ¶
func (cd *CommonData) GetDisplayAppStatsMap() map[string]*DisplayAppStats
func (*CommonData) GetMonitoredAppGuids ¶ added in v0.8.4
func (cd *CommonData) GetMonitoredAppGuids() map[string]bool
func (*CommonData) IsMonitoredAppGuid ¶ added in v0.8.4
func (cd *CommonData) IsMonitoredAppGuid(appGuid string) bool
func (*CommonData) IsWarmupComplete ¶
func (cd *CommonData) IsWarmupComplete() bool
func (*CommonData) PostProcessData ¶
func (cd *CommonData) PostProcessData() map[string]*DisplayAppStats
func (*CommonData) SetMonitoredAppGuids ¶ added in v0.8.4
func (cd *CommonData) SetMonitoredAppGuids(monitoredAppGuids map[string]bool)
func (*CommonData) TotalCrash1hCount ¶ added in v0.8.3
func (cd *CommonData) TotalCrash1hCount() int
func (*CommonData) TotalCrash24hCount ¶ added in v0.8.3
func (cd *CommonData) TotalCrash24hCount() int
type DisplayAppStats ¶
type DisplayAppStats struct { *eventApp.AppStats AppName string AppNameForSort string SpaceId string SpaceName string OrgId string OrgName string DesiredContainers int StackId string StackName string IsolationSegmentGuid string IsolationSegmentName string // If the app is in the pending delete from cache, then its been deleted // but we keep it around for a n seconds to show newly deleted app on the UI IsDeleted bool IsPackageStatePending bool // Indicate if this app is monitored. For privileged users // this should always be true. Monitored bool AppNotInDesiredState bool TotalCpuPercentage float64 TotalMemoryUsed int64 TotalDiskUsed int64 TotalReportingContainers int TotalLogStdout int64 TotalLogStderr int64 Crash1hCount int Crash24hCount int LastCrashTime *time.Time // Summerize HTTP response codes HttpAllCount int64 Http2xxCount int64 Http3xxCount int64 Http4xxCount int64 Http5xxCount int64 }
func NewDisplayAppStats ¶
func NewDisplayAppStats(appStats *eventApp.AppStats) *DisplayAppStats
Click to show internal directories.
Click to hide internal directories.