loadactions

package
v1.64.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoadKpms = struct {
	CumulativeLayoutShift  LoadKpm
	DomInteractive         LoadKpm
	FirstInputDelay        LoadKpm
	LargestContentfulPaint LoadKpm
	LoadEventEnd           LoadKpm
	LoadEventStart         LoadKpm
	ResponseEnd            LoadKpm
	ResponseStart          LoadKpm
	SpeedIndex             LoadKpm
	UserActionDuration     LoadKpm
	VisuallyComplete       LoadKpm
}{
	"CUMULATIVE_LAYOUT_SHIFT",
	"DOM_INTERACTIVE",
	"FIRST_INPUT_DELAY",
	"LARGEST_CONTENTFUL_PAINT",
	"LOAD_EVENT_END",
	"LOAD_EVENT_START",
	"RESPONSE_END",
	"RESPONSE_START",
	"SPEED_INDEX",
	"USER_ACTION_DURATION",
	"VISUALLY_COMPLETE",
}

Functions

This section is empty.

Types

type FallbackThresholds

type FallbackThresholds struct {
	FrustratingFallbackThresholdSeconds float64 `json:"frustratingFallbackThresholdSeconds"` // If **User action duration** is above this value, the action is assigned to the Frustrated performance zone.
	ToleratedFallbackThresholdSeconds   float64 `json:"toleratedFallbackThresholdSeconds"`   // If **User action duration** is below this value, the action is assigned to the Satisfied performance zone.
}

func (*FallbackThresholds) MarshalHCL

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

func (*FallbackThresholds) Schema

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

func (*FallbackThresholds) UnmarshalHCL

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

type LoadKpm

type LoadKpm string

type Settings

type Settings struct {
	FallbackThresholds *FallbackThresholds `json:"fallbackThresholds,omitempty"` // (Field has overlap with `dynatrace_web_application`) If the selected key performance metric is not detected, the **User action duration** metric is used instead.
	Kpm                LoadKpm             `json:"kpm"`                          // (Field has overlap with `dynatrace_web_application`) Possible Values: `CUMULATIVE_LAYOUT_SHIFT`, `DOM_INTERACTIVE`, `FIRST_INPUT_DELAY`, `LARGEST_CONTENTFUL_PAINT`, `LOAD_EVENT_END`, `LOAD_EVENT_START`, `RESPONSE_END`, `RESPONSE_START`, `SPEED_INDEX`, `USER_ACTION_DURATION`, `VISUALLY_COMPLETE`
	Scope              string              `json:"-" scope:"scope"`              // The scope of this setting (APPLICATION_METHOD, APPLICATION)
	Thresholds         *Thresholds         `json:"thresholds"`                   // (Field has overlap with `dynatrace_web_application`) Set the Tolerating and Frustrated performance thresholds for this action type.
}

func (*Settings) HandlePreconditions

func (me *Settings) HandlePreconditions() 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) UnmarshalHCL

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

type Thresholds

type Thresholds struct {
	FrustratingThresholdSeconds float64 `json:"frustratingThresholdSeconds"` // If the key performance metric is above this value, the action is assigned to the Frustrated performance zone.
	ToleratedThresholdSeconds   float64 `json:"toleratedThresholdSeconds"`   // If the key performance metric is below this value, the action is assigned to the Satisfied performance zone.
}

func (*Thresholds) MarshalHCL

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

func (*Thresholds) Schema

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

func (*Thresholds) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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