Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectionConfig ¶
type DetectionConfig struct { CustomThresholds *Thresholds `json:"customThresholds,omitempty"` // Custom thresholds for high retransmission rate. If not set, automatic mode is used. **All** of these conditions must be met to trigger an alert. Enabled bool `json:"enabled"` // The detection is enabled (`true`) or disabled (`false`). }
DetectionConfig Configuration of high retransmission rate detection.
func (*DetectionConfig) MarshalHCL ¶
func (me *DetectionConfig) MarshalHCL(properties hcl.Properties) error
func (*DetectionConfig) UnmarshalHCL ¶
func (me *DetectionConfig) UnmarshalHCL(decoder hcl.Decoder) error
type Thresholds ¶
type Thresholds struct { RetransmissionRatePercentage int32 `json:"retransmissionRatePercentage"` // Retransmission rate is higher than *X*% in 3 out of 5 samples. RetransmittedPacketsNumberPerMinute int32 `json:"retransmittedPacketsNumberPerMinute"` // Number of retransmitted packets is higher than *X* packets per minute in 3 out of 5 samples. }
Thresholds Custom thresholds for high retransmission rate. If not set, automatic mode is used.
**All** of these conditions must be met to trigger an alert.
func (*Thresholds) MarshalHCL ¶
func (me *Thresholds) MarshalHCL(properties hcl.Properties) error
func (*Thresholds) UnmarshalHCL ¶
func (me *Thresholds) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.