builtin:failure-detection.service.http-parameters)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.
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:failure-detection.service.http-parameters |
| SERVICE - Service |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:failure-detection.service.http-parameters |
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:failure-detection.service.http-parameters |
| GET | Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:failure-detection.service.http-parameters |
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.
| Property | Type | Description | Required |
|---|---|---|---|
Override global failure detection settingsenabled | boolean | - | Required |
HTTP response codeshttpResponseCodes | httpResponseCodes | - | Required |
HTTP 404 (broken links)brokenLinks | brokenLinks | 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 |
httpResponseCodes object| Property | Type | Description | Required |
|---|---|---|---|
HTTP response codes which indicate an error on the server sideserverSideErrors | text | A list of HTTP response code ranges and individual values that are treated as server-side errors. The format is a comma-separated list of ranges and values (e.g., | Required |
Treat missing HTTP response code as server side errorsfailOnMissingResponseCodeServerSide | boolean | If | Required |
HTTP response codes which indicate client side errorsclientSideErrors | text | A list of HTTP response code ranges and individual values that are treated as client-side errors. The format is a comma-separated list of ranges and values (e.g., | Required |
Treat missing HTTP response code as client side errorfailOnMissingResponseCodeClientSide | boolean | If | Required |
brokenLinks object| Property | Type | Description | Required |
|---|---|---|---|
Consider 404 HTTP response codes as failureshttp404NotFoundFailures | boolean | If | Required |
Rules for broken links to related domainsbrokenLinkDomains | 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 |