Documentation ¶
Index ¶
- type HandlerMonitor
- func (m *HandlerMonitor) IncBackupStorageWrites(outputType string)
- func (m *HandlerMonitor) IncUploadCountFailure(uploadType string, elapsed float64)
- func (m *HandlerMonitor) IncUploadCountSuccess(uploadType string, elapsed float64)
- func (m *HandlerMonitor) RegisterPlaylistChannelSizeGauge(nodeId string, clusterId string, egressId string, ...)
- func (m *HandlerMonitor) RegisterSegmentsChannelSizeGauge(nodeId string, clusterId string, egressId string, ...)
- type Monitor
- func (m *Monitor) AcceptRequest(req *rpc.StartEgressRequest) error
- func (m *Monitor) CanAcceptRequest(req *rpc.StartEgressRequest) bool
- func (m *Monitor) CanAcceptWebRequest() bool
- func (m *Monitor) EgressAborted(req *rpc.StartEgressRequest)
- func (m *Monitor) EgressEnded(req *rpc.StartEgressRequest) (float64, float64)
- func (m *Monitor) EgressStarted(req *rpc.StartEgressRequest)
- func (m *Monitor) GetAvailableCPU() float64
- func (m *Monitor) UpdatePID(egressID string, pid int)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerMonitor ¶ added in v1.8.1
type HandlerMonitor struct {
// contains filtered or unexported fields
}
func NewHandlerMonitor ¶ added in v1.8.1
func NewHandlerMonitor(nodeId string, clusterId string, egressId string) *HandlerMonitor
func (*HandlerMonitor) IncBackupStorageWrites ¶ added in v1.8.1
func (m *HandlerMonitor) IncBackupStorageWrites(outputType string)
func (*HandlerMonitor) IncUploadCountFailure ¶ added in v1.8.1
func (m *HandlerMonitor) IncUploadCountFailure(uploadType string, elapsed float64)
func (*HandlerMonitor) IncUploadCountSuccess ¶ added in v1.8.1
func (m *HandlerMonitor) IncUploadCountSuccess(uploadType string, elapsed float64)
func (*HandlerMonitor) RegisterPlaylistChannelSizeGauge ¶ added in v1.8.1
func (m *HandlerMonitor) RegisterPlaylistChannelSizeGauge(nodeId string, clusterId string, egressId string, channelSizeFunction func() float64)
func (*HandlerMonitor) RegisterSegmentsChannelSizeGauge ¶ added in v1.8.1
func (m *HandlerMonitor) RegisterSegmentsChannelSizeGauge(nodeId string, clusterId string, egressId string, channelSizeFunction func() float64)
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
func NewMonitor ¶
func NewMonitor(conf *config.ServiceConfig, svc Service) (*Monitor, error)
func (*Monitor) AcceptRequest ¶
func (m *Monitor) AcceptRequest(req *rpc.StartEgressRequest) error
func (*Monitor) CanAcceptRequest ¶
func (m *Monitor) CanAcceptRequest(req *rpc.StartEgressRequest) bool
func (*Monitor) CanAcceptWebRequest ¶ added in v1.8.6
func (*Monitor) EgressAborted ¶ added in v1.7.5
func (m *Monitor) EgressAborted(req *rpc.StartEgressRequest)
func (*Monitor) EgressEnded ¶
func (m *Monitor) EgressEnded(req *rpc.StartEgressRequest) (float64, float64)
func (*Monitor) EgressStarted ¶
func (m *Monitor) EgressStarted(req *rpc.StartEgressRequest)
func (*Monitor) GetAvailableCPU ¶ added in v1.8.3
Click to show internal directories.
Click to hide internal directories.