Documentation ¶
Index ¶
- type AnomalyDetection
- func (me *AnomalyDetection) Deprecated() string
- func (me *AnomalyDetection) MarshalHCL(properties hcl.Properties) error
- func (me *AnomalyDetection) MarshalJSON() ([]byte, error)
- func (me *AnomalyDetection) Name() string
- func (me *AnomalyDetection) Schema() map[string]*schema.Schema
- func (me *AnomalyDetection) UnmarshalHCL(decoder hcl.Decoder) error
- func (me *AnomalyDetection) UnmarshalJSON(data []byte) error
- type ConnectionFailureDetection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnomalyDetection ¶
type AnomalyDetection struct { FailureRateIncrease *failurerate.Detection `json:"failureRateIncrease"` // Configuration of failure rate increase detection. LoadDrop *load.DropDetection `json:"loadDrop,omitempty"` // The configuration of load drops detection. LoadSpike *load.SpikeDetection `json:"loadSpike,omitempty"` // The configuration of load spikes detection. ResponseTimeDegradation *responsetime.Detection `json:"responseTimeDegradation"` // Configuration of response time degradation detection. DatabaseConnectionFailureCount *ConnectionFailureDetection `json:"databaseConnectionFailureCount"` // Parameters of the failed database connections detection. The alert is triggered when failed connections number exceeds **connectionFailsCount** during any **timePeriodMinutes** minutes period. }
AnomalyDetection The configuration of the anomaly detection for database services.
func (*AnomalyDetection) Deprecated ¶ added in v1.36.0
func (me *AnomalyDetection) Deprecated() string
func (*AnomalyDetection) MarshalHCL ¶
func (me *AnomalyDetection) MarshalHCL(properties hcl.Properties) error
func (*AnomalyDetection) MarshalJSON ¶
func (me *AnomalyDetection) MarshalJSON() ([]byte, error)
func (*AnomalyDetection) Name ¶
func (me *AnomalyDetection) Name() string
func (*AnomalyDetection) UnmarshalHCL ¶
func (me *AnomalyDetection) UnmarshalHCL(decoder hcl.Decoder) error
func (*AnomalyDetection) UnmarshalJSON ¶
func (me *AnomalyDetection) UnmarshalJSON(data []byte) error
type ConnectionFailureDetection ¶
type ConnectionFailureDetection struct { ConnectionFailsCount *int32 `json:"connectionFailsCount,omitempty"` // Number of failed database connections during any **timePeriodMinutes** minutes period to trigger an alert. Enabled bool `json:"enabled"` // The detection is enabled (`true`) or disabled (`false`). TimePeriodMinutes *int32 `json:"timePeriodMinutes,omitempty"` // The *X* minutes time period during which the **connectionFailsCount** is evaluated. }
ConnectionFailureDetection Parameters of the failed database connections detection. The alert is triggered when failed connections number exceeds **connectionFailsCount** during any **timePeriodMinutes** minutes period.
func (*ConnectionFailureDetection) MarshalHCL ¶
func (me *ConnectionFailureDetection) MarshalHCL(properties hcl.Properties) error
func (*ConnectionFailureDetection) Schema ¶
func (me *ConnectionFailureDetection) Schema() map[string]*schema.Schema
func (*ConnectionFailureDetection) UnmarshalHCL ¶
func (me *ConnectionFailureDetection) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.