Documentation
¶
Index ¶
- func MovingExpAvg(value, oldValue, fdtime, ftime float64) float64
- type AppDetailView
- type AppListView
- func (asUI *AppListView) ClearStats(g *gocui.Gui, v *gocui.View) error
- func (asUI *AppListView) GetCurrentProcessor() *AppStatsEventProcessor
- func (asUI *AppListView) GetDisplayPaused() bool
- func (asUI *AppListView) GetListSize() int
- func (asUI *AppListView) GetRowKey(statIndex int) string
- func (asUI *AppListView) Layout(g *gocui.Gui) error
- func (asUI *AppListView) PreRowDisplay(statIndex int, isSelected bool) string
- func (asUI *AppListView) RefreshDisplay(g *gocui.Gui) error
- func (asUI *AppListView) SetDisplayPaused(paused bool)
- func (asUI *AppListView) SortData()
- func (asUI *AppListView) Start()
- func (asUI *AppListView) UpdateDisplay(g *gocui.Gui) error
- type AppStats
- type AppStatsEventProcessor
- type ContainerStats
- type FilterWidget
- type Traffic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MovingExpAvg ¶
Types ¶
type AppDetailView ¶
type AppDetailView struct {
// contains filtered or unexported fields
}
func NewAppDetailView ¶
func NewAppDetailView(masterUI masterUIInterface.MasterUIInterface, name string, appId string, appListView *AppListView) *AppDetailView
type AppListView ¶
type AppListView struct {
// contains filtered or unexported fields
}
func NewAppListView ¶
func NewAppListView(masterUI masterUIInterface.MasterUIInterface, name string, topMargin, bottomMargin int, cliConnection plugin.CliConnection) *AppListView
func (*AppListView) ClearStats ¶
func (*AppListView) GetCurrentProcessor ¶
func (asUI *AppListView) GetCurrentProcessor() *AppStatsEventProcessor
func (*AppListView) GetDisplayPaused ¶
func (asUI *AppListView) GetDisplayPaused() bool
func (*AppListView) GetListSize ¶
func (asUI *AppListView) GetListSize() int
func (*AppListView) GetRowKey ¶
func (asUI *AppListView) GetRowKey(statIndex int) string
func (*AppListView) PreRowDisplay ¶
func (asUI *AppListView) PreRowDisplay(statIndex int, isSelected bool) string
func (*AppListView) RefreshDisplay ¶
func (asUI *AppListView) RefreshDisplay(g *gocui.Gui) error
func (*AppListView) SetDisplayPaused ¶
func (asUI *AppListView) SetDisplayPaused(paused bool)
func (*AppListView) SortData ¶
func (asUI *AppListView) SortData()
func (*AppListView) Start ¶
func (asUI *AppListView) Start()
func (*AppListView) UpdateDisplay ¶
func (asUI *AppListView) UpdateDisplay(g *gocui.Gui) error
type AppStats ¶
type AppStats struct {
AppUUID *events.UUID
AppId string
AppName string
SpaceName string
OrgName string
NonContainerOutCount int64
NonContainerErrCount int64
ContainerArray []*ContainerStats
ContainerTrafficMap map[string]*Traffic
TotalTraffic *Traffic
TotalCpuPercentage float64 // updated after a clone of this object
TotalReportingContainers int //updated after a clone of this object
TotalLogCount int64 //updated after a clone of this object
}
func NewAppStats ¶
type AppStatsEventProcessor ¶
type AppStatsEventProcessor struct {
AppMap map[string]*AppStats
TotalEvents int64
// contains filtered or unexported fields
}
func NewAppStatsEventProcessor ¶
func NewAppStatsEventProcessor() *AppStatsEventProcessor
func (*AppStatsEventProcessor) Clear ¶
func (ap *AppStatsEventProcessor) Clear()
func (*AppStatsEventProcessor) Clone ¶
func (ap *AppStatsEventProcessor) Clone() *AppStatsEventProcessor
func (*AppStatsEventProcessor) GetTotalEvents ¶
func (ap *AppStatsEventProcessor) GetTotalEvents() int64
func (*AppStatsEventProcessor) Process ¶
func (ap *AppStatsEventProcessor) Process(msg *events.Envelope)
type ContainerStats ¶
type ContainerStats struct {
ContainerMetric *events.ContainerMetric
OutCount int64
ErrCount int64
}
func NewContainerStats ¶
func NewContainerStats() *ContainerStats
type FilterWidget ¶
type FilterWidget struct {
// contains filtered or unexported fields
}
func NewFilterWidget ¶
func NewFilterWidget(masterUI masterUIInterface.MasterUIInterface, name string, width, height int) *FilterWidget
type Traffic ¶
type Traffic struct {
AvgResponseL60Time float64 // updated after a clone of this object
EventL60Rate int // updated after a clone of this object
AvgResponseL10Time float64 // updated after a clone of this object
EventL10Rate int // updated after a clone of this object
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
// contains filtered or unexported fields
}
func NewTraffic ¶
func NewTraffic() *Traffic
Click to show internal directories.
Click to hide internal directories.