customerrors

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 Matchers = struct {
	All        Matcher
	BeginsWith Matcher
	Contains   Matcher
	EndsWith   Matcher
	Equals     Matcher
}{
	"ALL",
	"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 CustomErrorRule

type CustomErrorRule struct {
	CaptureSettings *CaptureSettings `json:"captureSettings"`        // Capture settings
	KeyMatcher      Matcher          `json:"keyMatcher"`             // Possible Values: `ALL`, `BEGINS_WITH`, `CONTAINS`, `ENDS_WITH`, `EQUALS`
	KeyPattern      *string          `json:"keyPattern,omitempty"`   // A case-insensitive key pattern
	ValueMatcher    Matcher          `json:"valueMatcher"`           // Possible Values: `ALL`, `BEGINS_WITH`, `CONTAINS`, `ENDS_WITH`, `EQUALS`
	ValuePattern    *string          `json:"valuePattern,omitempty"` // A case-insensitive value pattern
}

func (*CustomErrorRule) MarshalHCL

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

func (*CustomErrorRule) Schema

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

func (*CustomErrorRule) UnmarshalHCL

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

type CustomErrorRules

type CustomErrorRules []*CustomErrorRule

func (CustomErrorRules) MarshalHCL

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

func (*CustomErrorRules) Schema

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

func (*CustomErrorRules) UnmarshalHCL

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

type Matcher

type Matcher string

type Settings

type Settings struct {
	ErrorRules                           CustomErrorRules `json:"errorRules,omitempty"`                 // (Field has overlap with `dynatrace_application_error_rules`)
	IgnoreCustomErrorsInApdexCalculation bool             `json:"ignoreCustomErrorsInApdexCalculation"` // (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

Jump to

Keyboard shortcuts

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