processgroupalerting

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 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 process group availability monitoring
	AlertingMode             *AlertingMode `json:"alertingMode,omitempty"`             // **if any process becomes unavailable:**\nDynatrace will open a new problem if a single process in this group shuts down or crashes. \n\n**if minimum threshold is not met:**\nDynatrace tracks the number of process instances that comprise this process group and treats the group as a cluster. This setting enables you to define a minimum number of process instances that must be available. A problem will be opened if this process group has fewer than the minimum number of required process instances. \n\n Details of the related impact on service requests will be included in the problem summary.\n\n**Note:** If a process is intentionally shutdown or retired while this setting is active, you'll need to manually close the problem.
	MinimumInstanceThreshold *int          `json:"minimumInstanceThreshold,omitempty"` // Open a new problem if the number of active process instances in the group is fewer than:
	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