requesterrors

package
v1.56.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UrlFilters = struct {
	BeginsWith UrlFilter
	Contains   UrlFilter
	EndsWith   UrlFilter
	Equals     UrlFilter
}{
	"BEGINS_WITH",
	"CONTAINS",
	"ENDS_WITH",
	"EQUALS",
}

Functions

This section is empty.

Types

type CaptureSettings

type CaptureSettings struct {
	Capture       bool  `json:"capture"`                 // Capture this error
	ConsiderForAI *bool `json:"considerForAi,omitempty"` // [View more details](https://dt-url.net/hd580p2k)
	ImpactApdex   *bool `json:"impactApdex,omitempty"`   // Include error in Apdex calculations
}

func (*CaptureSettings) MarshalHCL

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

func (*CaptureSettings) Schema

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

func (*CaptureSettings) UnmarshalHCL

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

type FilterSettings

type FilterSettings struct {
	Filter *UrlFilter `json:"filter,omitempty"` // Possible Values: `BEGINS_WITH`, `CONTAINS`, `ENDS_WITH`, `EQUALS`
	Url    *string    `json:"url,omitempty"`
}

func (*FilterSettings) MarshalHCL

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

func (*FilterSettings) Schema

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

func (*FilterSettings) UnmarshalHCL

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

type RequestErrorRule

type RequestErrorRule struct {
	CaptureSettings       *CaptureSettings `json:"captureSettings"`       // Capture settings
	ConsiderCspViolations bool             `json:"considerCspViolations"` // Match by errors that have CSP violations
	ConsiderFailedImages  bool             `json:"considerFailedImages"`  // Match by errors that have failed image requests
	ErrorCodes            *string          `json:"errorCodes,omitempty"`  // Match by error code
	FilterSettings        *FilterSettings  `json:"filterSettings"`        // Filter settings
}

func (*RequestErrorRule) MarshalHCL

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

func (*RequestErrorRule) Schema

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

func (*RequestErrorRule) UnmarshalHCL

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

type RequestErrorRules

type RequestErrorRules []*RequestErrorRule

func (RequestErrorRules) MarshalHCL

func (me RequestErrorRules) MarshalHCL(properties hcl.Properties) error

func (*RequestErrorRules) Schema

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

func (*RequestErrorRules) UnmarshalHCL

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

type Settings

type Settings struct {
	ErrorRules                            RequestErrorRules `json:"errorRules,omitempty"`                  // (Field has overlap with `dynatrace_application_error_rules`)
	IgnoreRequestErrorsInApdexCalculation bool              `json:"ignoreRequestErrorsInApdexCalculation"` // (Field has overlap with `dynatrace_application_error_rules`) This setting overrides Apdex settings for individual rules listed below
	Scope                                 string            `json:"-" scope:"scope"`                       // The scope of this setting (APPLICATION)
}

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 UrlFilter

type UrlFilter string

Jump to

Keyboard shortcuts

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