Dynatrace failure detection automatically detects the vast majority of error conditions in your environment. However, detected service errors don't necessarily mean that the underlying requests have failed. There may be cases where the default service failure detection settings don't meet your particular needs. In such cases, you can configure the settings provided below. Please note that these settings are not applicable to services of type 'Span service'. For complete details, see configure service failure detection.
To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.
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.
required
Request body objects
The brokenLinks object
Property
Label
Type
Description
Required
http404NotFoundFailures
Consider 404 HTTP response codes as failures
boolean
-
required
brokenLinkDomains
Rules for broken links to related domains
set
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.
required
The httpResponseCodes object
Property
Label
Type
Description
Required
serverSideErrors
HTTP response codes which indicate an error on the server side
text
-
required
failOnMissingResponseCodeServerSide
Treat missing HTTP response code as server side errors
boolean
-
required
clientSideErrors
HTTP response codes which indicate client side errors
text
-
required
failOnMissingResponseCodeClientSide
Treat missing HTTP response code as client side error