Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OOMBumpUpRatio specifies how much memory will be added after observing OOM. OOMBumpUpRatio float64 = 1.2 // OOMMinBumpUp specifies minimal increase of memory after observing OOM. OOMMinBumpUp float64 = 100 * 1024 * 1024 // 100MB )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PercentileRecommender ¶
type PercentileRecommender struct { recommender.Recommender DataProcessor processor.Processor OomRecorder oom.Recorder }
func NewPercentileRecommender ¶
func NewPercentileRecommender(DataProcessor processor.Processor, OomRecorder oom.Recorder) *PercentileRecommender
NewPercentileRecommender returns a
func (*PercentileRecommender) Recommend ¶
func (r *PercentileRecommender) Recommend(recommendation *recommendationtype.Recommendation) *errortypes.CustomError
func (*PercentileRecommender) ScaleOnOOM ¶
Click to show internal directories.
Click to hide internal directories.