Documentation ¶
Index ¶
- Variables
- type DetectionMode
- type ErrorRateIncrease
- type ErrorRateIncreaseAuto
- type ErrorRateIncreaseFixed
- type Sensitivity
- type Settings
- type SlowUserActions
- type SlowUserActionsAuto
- type SlowUserActionsAutoAll
- type SlowUserActionsAutoSlowest
- type SlowUserActionsAvoidOveralerting
- type SlowUserActionsFixed
- type SlowUserActionsManualAll
- type SlowUserActionsManualSlowest
- type UnexpectedHighLoad
- type UnexpectedLowLoad
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) 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
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) 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 (me *SlowUserActionsAvoidOveralerting) Schema() map[string]*schema.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 (me *SlowUserActionsManualSlowest) Schema() map[string]*schema.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) UnmarshalHCL ¶
func (me *UnexpectedLowLoad) UnmarshalHCL(decoder hcl.Decoder) error
Source Files ¶
- enums.go
- error_rate_increase.go
- error_rate_increase_auto.go
- error_rate_increase_fixed.go
- settings.go
- slow_user_actions.go
- slow_user_actions_auto.go
- slow_user_actions_auto_all.go
- slow_user_actions_auto_slowest.go
- slow_user_actions_avoid_overalerting.go
- slow_user_actions_fixed.go
- slow_user_actions_manual_all.go
- slow_user_actions_manual_slowest.go
- unexpected_high_load.go
- unexpected_low_load.go
Click to show internal directories.
Click to hide internal directories.