rummobilecrashrateincrease

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DetectionModes = struct {
	Auto  DetectionMode
	Fixed DetectionMode
}{
	"Auto",
	"Fixed",
}
View Source
var Sensitivities = struct {
	High   Sensitivity
	Low    Sensitivity
	Medium Sensitivity
}{
	"High",
	"Low",
	"Medium",
}

Functions

This section is empty.

Types

type CrashRateIncrease

type CrashRateIncrease struct {
	CrashRateIncreaseAuto  *CrashRateIncreaseAuto  `json:"crashRateIncreaseAuto,omitempty"`  // Alert crash rate increases when auto-detected baseline is exceeded by a certain number of users
	CrashRateIncreaseFixed *CrashRateIncreaseFixed `json:"crashRateIncreaseFixed,omitempty"` // Alert crash rate increases when the defined threshold is exceeded by a certain number of users
	DetectionMode          *DetectionMode          `json:"detectionMode,omitempty"`          // Possible Values: `Auto`, `Fixed`
	Enabled                bool                    `json:"enabled"`                          // This setting is enabled (`true`) or disabled (`false`)
}

func (*CrashRateIncrease) MarshalHCL

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

func (*CrashRateIncrease) Schema

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

func (*CrashRateIncrease) UnmarshalHCL

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

type CrashRateIncreaseAuto

type CrashRateIncreaseAuto struct {
	BaselineViolationPercentage float64     `json:"baselineViolationPercentage"` // Dynatrace learns the typical crash rate for all app versions and will create an alert if the baseline is violated by more than a specified threshold. Analysis happens based on a sliding window of 10 minutes.
	ConcurrentUsers             float64     `json:"concurrentUsers"`             // Amount of users
	Sensitivity                 Sensitivity `json:"sensitivity"`                 // Possible Values: `Low`, `Medium`, `High`
}

func (*CrashRateIncreaseAuto) MarshalHCL

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

func (*CrashRateIncreaseAuto) Schema

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

func (*CrashRateIncreaseAuto) UnmarshalHCL

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

type CrashRateIncreaseFixed

type CrashRateIncreaseFixed struct {
	AbsoluteCrashRate float64 `json:"absoluteCrashRate"` // Absolute threshold
	ConcurrentUsers   int     `json:"concurrentUsers"`   // Amount of users
}

func (*CrashRateIncreaseFixed) MarshalHCL

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

func (*CrashRateIncreaseFixed) Schema

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

func (*CrashRateIncreaseFixed) UnmarshalHCL

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

type DetectionMode

type DetectionMode string

type Sensitivity

type Sensitivity string

type Settings

type Settings struct {
	ApplicationID     *string            `json:"-" scope:"applicationId"` // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
	CrashRateIncrease *CrashRateIncrease `json:"crashRateIncrease"`       // Crash rate increase
}

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