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) 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) 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) 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) 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
Click to show internal directories.
Click to hide internal directories.