databaseservices

package
v1.44.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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) Schema

func (me *AnomalyDetection) Schema() map[string]*schema.Schema

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL