processgroupalerting

package
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlertingModes = struct {
	OnPgiUnavailability      AlertingMode
	OnInstanceCountViolation AlertingMode
}{
	AlertingMode("ON_PGI_UNAVAILABILITY"),
	AlertingMode("ON_INSTANCE_COUNT_VIOLATION"),
}

Functions

This section is empty.

Types

type AlertingMode

type AlertingMode string

type Settings

type Settings struct {
	Enabled                  bool          `json:"enabled"`                            // Enable (`true`) or disable (`false`) process group availability monitoring
	AlertingMode             *AlertingMode `json:"alertingMode,omitempty"`             // Possible Values: `ON_INSTANCE_COUNT_VIOLATION`, `ON_PGI_UNAVAILABILITY`
	MinimumInstanceThreshold *int          `json:"minimumInstanceThreshold,omitempty"` // Open a new problem if the number of active process instances in the group is fewer than X
	ProcessGroupId           string        `json:"-"`
}

func (*Settings) GetScope

func (me *Settings) GetScope() string

func (*Settings) Load

func (me *Settings) Load(data []byte) error

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

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

func (*Settings) SetScope

func (me *Settings) SetScope(scope string)

func (*Settings) Store

func (me *Settings) Store() ([]byte, error)

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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