xhractions

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var XhrKpms = struct {
	ResponseEnd        XhrKpm
	ResponseStart      XhrKpm
	UserActionDuration XhrKpm
	VisuallyComplete   XhrKpm
}{
	"RESPONSE_END",
	"RESPONSE_START",
	"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 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                XhrKpm              `json:"kpm"`                          // (Field has overlap with `dynatrace_web_application`) Possible Values: `RESPONSE_END`, `RESPONSE_START`, `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

type XhrKpm

type XhrKpm string

Jump to

Keyboard shortcuts

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