Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokenLinks ¶
type BrokenLinks struct { BrokenLinkDomains []string `json:"brokenLinkDomains,omitempty"` // If your application relies on other hosts at other domains, add the associated domain names here. Once configured, Dynatrace will consider 404s thrown by hosts at these domains to be service failures related to your application. Http404NotFoundFailures bool `json:"http404NotFoundFailures"` // Consider 404 HTTP response codes as failures }
func (*BrokenLinks) MarshalHCL ¶
func (me *BrokenLinks) MarshalHCL(properties hcl.Properties) error
func (*BrokenLinks) UnmarshalHCL ¶
func (me *BrokenLinks) UnmarshalHCL(decoder hcl.Decoder) error
type HttpResponseCodes ¶
type HttpResponseCodes struct { ClientSideErrors string `json:"clientSideErrors"` // HTTP response codes which indicate client side errors FailOnMissingResponseCodeClientSide bool `json:"failOnMissingResponseCodeClientSide"` // Treat missing HTTP response code as client side error FailOnMissingResponseCodeServerSide bool `json:"failOnMissingResponseCodeServerSide"` // Treat missing HTTP response code as server side errors ServerSideErrors string `json:"serverSideErrors"` // HTTP response codes which indicate an error on the server side }
func (*HttpResponseCodes) MarshalHCL ¶
func (me *HttpResponseCodes) MarshalHCL(properties hcl.Properties) error
func (*HttpResponseCodes) UnmarshalHCL ¶
func (me *HttpResponseCodes) UnmarshalHCL(decoder hcl.Decoder) error
type Settings ¶
type Settings struct { BrokenLinks *BrokenLinks `json:"brokenLinks,omitempty"` // HTTP 404 response codes are thrown when a web server can't find a certain page. 404s are classified as broken links on the client side and therefore aren't considered to be service failures. By enabling this setting, you can have 404s treated as server-side service failures. Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) HttpResponseCodes *HttpResponseCodes `json:"httpResponseCodes,omitempty"` // HTTP response codes ServiceID string `json:"-" scope:"serviceId"` // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.