Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkers ¶
type Checkers struct {
// contains filtered or unexported fields
}
func NewCheckers ¶
func (*Checkers) CheckProfilingPolicies ¶
func (*Checkers) ShouldCheck ¶
func (c *Checkers) ShouldCheck(p api.ProcessInterface, item *base.PolicyItem) bool
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) CheckPolicies ¶
type QueryPolicyUpdate ¶
type QueryPolicyUpdate struct { ServiceName string `json:"ServiceName"` UUID string `json:"UUID"` Profiling map[base.TargetProfilingType]map[base.CheckType]*QueryPolicyUpdateItem }
type QueryPolicyUpdateItem ¶
type QueryPolicyUpdateItem struct { Threshold string `json:"Threshold"` Period int `json:"Period"` Count int `json:"Count"` URIList []string `json:"URIList"` URIRegex string `json:"URIRegex"` }
func (*QueryPolicyUpdateItem) Validate ¶
func (p *QueryPolicyUpdateItem) Validate() error
type Triggers ¶
type Triggers struct {
// contains filtered or unexported fields
}
func NewTriggers ¶
func (*Triggers) ReportProcesses ¶
func (m *Triggers) ReportProcesses(process api.ProcessInterface, profilingProcesses []api.ProcessInterface, cases []base.ThresholdCause, taskSetter func(task *taskBase.ProfilingTask), reportSetter func(report *v3.ContinuousProfilingReport)) (*task.Context, error)
Click to show internal directories.
Click to hide internal directories.