custom

package
v1.59.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type DetectionMode

type DetectionMode string

type ErrorRateIncrease

type ErrorRateIncrease struct {
	DetectionMode          *DetectionMode          `json:"detectionMode,omitempty"`          // Possible Values: `Auto`, `Fixed`
	Enabled                bool                    `json:"enabled"`                          // This setting is enabled (`true`) or disabled (`false`)
	ErrorRateIncreaseAuto  *ErrorRateIncreaseAuto  `json:"errorRateIncreaseAuto,omitempty"`  // Alert if the percentage of user actions affected by reported errors exceeds **both** the absolute threshold and the relative threshold
	ErrorRateIncreaseFixed *ErrorRateIncreaseFixed `json:"errorRateIncreaseFixed,omitempty"` // Alert if the custom reported error rate threshold is exceeded during any 5-minute period
}

func (*ErrorRateIncrease) MarshalHCL

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

func (*ErrorRateIncrease) Schema

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

func (*ErrorRateIncrease) UnmarshalHCL

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

type ErrorRateIncreaseAuto

type ErrorRateIncreaseAuto struct {
	ThresholdAbsolute float64 `json:"thresholdAbsolute"` // Absolute threshold
	ThresholdRelative float64 `json:"thresholdRelative"` // Relative threshold
}

func (*ErrorRateIncreaseAuto) MarshalHCL

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

func (*ErrorRateIncreaseAuto) Schema

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

func (*ErrorRateIncreaseAuto) UnmarshalHCL

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

type ErrorRateIncreaseFixed

type ErrorRateIncreaseFixed struct {
	Sensitivity       Sensitivity `json:"sensitivity"`       // Possible Values: `Low`, `Medium`, `High`
	ThresholdAbsolute float64     `json:"thresholdAbsolute"` // Absolute threshold
}

func (*ErrorRateIncreaseFixed) MarshalHCL

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

func (*ErrorRateIncreaseFixed) Schema

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

func (*ErrorRateIncreaseFixed) UnmarshalHCL

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

type Sensitivity

type Sensitivity string

type Settings

type Settings struct {
	ErrorRateIncrease  *ErrorRateIncrease  `json:"errorRateIncrease"`  // Error rate increase
	Scope              *string             `json:"-" scope:"scope"`    // The scope of this setting (DEVICE_APPLICATION_METHOD CUSTOM_APPLICATION environment)
	SlowUserActions    *SlowUserActions    `json:"slowUserActions"`    // Slow user actions
	UnexpectedHighLoad *UnexpectedHighLoad `json:"unexpectedHighLoad"` // Unexpected high load
	UnexpectedLowLoad  *UnexpectedLowLoad  `json:"unexpectedLowLoad"`  // Unexpected low load
}

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

type SlowUserActions

type SlowUserActions struct {
	DetectionMode        *DetectionMode        `json:"detectionMode,omitempty"` // Possible Values: `Auto`, `Fixed`
	Enabled              bool                  `json:"enabled"`                 // This setting is enabled (`true`) or disabled (`false`)
	SlowUserActionsAuto  *SlowUserActionsAuto  `json:"slowUserActionsAuto,omitempty"`
	SlowUserActionsFixed *SlowUserActionsFixed `json:"slowUserActionsFixed,omitempty"`
}

func (*SlowUserActions) MarshalHCL

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

func (*SlowUserActions) Schema

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

func (*SlowUserActions) UnmarshalHCL

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

type SlowUserActionsAuto

type SlowUserActionsAuto struct {
	DurationAvoidOveralerting *SlowUserActionsAvoidOveralerting `json:"durationAvoidOveralerting"` // To avoid over-alerting do not alert for low traffic applications with less than
	DurationThresholdAll      *SlowUserActionsAutoAll           `json:"durationThresholdAll"`      // Alert if the action duration of all user actions degrades beyond **both** the absolute and relative threshold:
	DurationThresholdSlowest  *SlowUserActionsAutoSlowest       `json:"durationThresholdSlowest"`  // Alert if the action duration of the slowest 10% of user actions degrades beyond **both** the absolute and relative threshold:
}

func (*SlowUserActionsAuto) MarshalHCL

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

func (*SlowUserActionsAuto) Schema

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

func (*SlowUserActionsAuto) UnmarshalHCL

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

type SlowUserActionsAutoAll

type SlowUserActionsAutoAll struct {
	DurationThreshold  float64 `json:"durationThreshold"`  // Absolute threshold
	SlowdownPercentage float64 `json:"slowdownPercentage"` // Relative threshold
}

func (*SlowUserActionsAutoAll) MarshalHCL

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

func (*SlowUserActionsAutoAll) Schema

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

func (*SlowUserActionsAutoAll) UnmarshalHCL

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

type SlowUserActionsAutoSlowest

type SlowUserActionsAutoSlowest struct {
	DurationThreshold  float64 `json:"durationThreshold"`  // Absolute threshold
	SlowdownPercentage float64 `json:"slowdownPercentage"` // Relative threshold
}

func (*SlowUserActionsAutoSlowest) MarshalHCL

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

func (*SlowUserActionsAutoSlowest) Schema

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

func (*SlowUserActionsAutoSlowest) UnmarshalHCL

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

type SlowUserActionsAvoidOveralerting

type SlowUserActionsAvoidOveralerting struct {
	MinActionRate int `json:"minActionRate"`
}

func (*SlowUserActionsAvoidOveralerting) MarshalHCL

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

func (*SlowUserActionsAvoidOveralerting) Schema

func (*SlowUserActionsAvoidOveralerting) UnmarshalHCL

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

type SlowUserActionsFixed

type SlowUserActionsFixed struct {
	DurationAvoidOveralerting *SlowUserActionsAvoidOveralerting `json:"durationAvoidOveralerting"` // To avoid over-alerting do not alert for low traffic applications with less than
	DurationThresholdAllFixed *SlowUserActionsManualAll         `json:"durationThresholdAllFixed"` // Alert if the action duration of all user actions degrades beyond the absolute threshold:
	DurationThresholdSlowest  *SlowUserActionsManualSlowest     `json:"durationThresholdSlowest"`  // Alert if the action duration of the slowest 10% of user actions degrades beyond the absolute threshold:
	Sensitivity               Sensitivity                       `json:"sensitivity"`               // Possible Values: `Medium`, `High`, `Low`
}

func (*SlowUserActionsFixed) MarshalHCL

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

func (*SlowUserActionsFixed) Schema

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

func (*SlowUserActionsFixed) UnmarshalHCL

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

type SlowUserActionsManualAll

type SlowUserActionsManualAll struct {
	DurationThreshold float64 `json:"durationThreshold"` // Absolute threshold
}

func (*SlowUserActionsManualAll) MarshalHCL

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

func (*SlowUserActionsManualAll) Schema

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

func (*SlowUserActionsManualAll) UnmarshalHCL

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

type SlowUserActionsManualSlowest

type SlowUserActionsManualSlowest struct {
	DurationThreshold float64 `json:"durationThreshold"` // Absolute threshold
}

func (*SlowUserActionsManualSlowest) MarshalHCL

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

func (*SlowUserActionsManualSlowest) Schema

func (*SlowUserActionsManualSlowest) UnmarshalHCL

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

type UnexpectedHighLoad

type UnexpectedHighLoad struct {
	Enabled             bool     `json:"enabled"`                       // This setting is enabled (`true`) or disabled (`false`)
	ThresholdPercentage *float64 `json:"thresholdPercentage,omitempty"` // Dynatrace learns your typical application traffic over an observation period of one week. Depending on this expected value Dynatrace detects abnormal traffic spikes within your application.
}

func (*UnexpectedHighLoad) MarshalHCL

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

func (*UnexpectedHighLoad) Schema

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

func (*UnexpectedHighLoad) UnmarshalHCL

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

type UnexpectedLowLoad

type UnexpectedLowLoad struct {
	Enabled             bool     `json:"enabled"`                       // This setting is enabled (`true`) or disabled (`false`)
	ThresholdPercentage *float64 `json:"thresholdPercentage,omitempty"` // Dynatrace learns your typical application traffic over an observation period of one week. Depending on this expected value Dynatrace detects abnormal traffic drops within your application.
}

func (*UnexpectedLowLoad) MarshalHCL

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

func (*UnexpectedLowLoad) Schema

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

func (*UnexpectedLowLoad) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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