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 Java out of threads detection. If not set, automatic mode is used. Enabled bool `json:"enabled"` // The detection is enabled (`true`) or disabled (`false`). }
DetectionConfig Configuration of Java out of threads problems 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 {
ExceptionCount int32 `json:"outOfThreadsExceptionsNumber"` // Alert if the number of Java out of threads exceptions is *X* per minute or higher.
}
Thresholds Custom thresholds for Java out of threads detection. If not set, automatic mode is used.
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.