Failure detection API - GET a parameter set
Gets the specified failure detection parameter set.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/service/failureDetection/parameterSelection/parameterSets/{id} |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/service/failureDetection/parameterSelection/parameterSets/{id} |
Authentication
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
The ID of the required failure detection parameter set. Needs to be a valid RFC 4122 UUID.
Response
To find all model variations that depend on the type of the model, see JSON models.
Response codes
Failed. The specified entity doesn't exist.
Response body objects
The FailureDetectionParameterSet
object
A set of failure detection parameters (FDP).
These parameters define the conditions of failure and success.
A list of domains for the special handling of the 404 HTTP response code.
If the top domain of the Referer is presented in the list OR equals the top domain of the request's host, the 404 code is considered a failure.
Only applicable when isHttp404NotFoundFailureEnabled is set to true
.
The missing HTTP response code on the client side is a failure (true
) or a success (false
).
If not set, false
is used.
A short description of the FDP set.
A list of faulty exceptions.
If an exception on any node of the service matches any of these patterns it is considered a failure.
A list of client side HTTP response codes that are considered a failure.
The format is a list of ranges and individual values (for example, 500-599, 400-499, 1008
).
If not set, the range of 400-599
is used.
A list of server side HTTP response codes that are considered a failure.
The format is a list of ranges and individual values (for example, 500-599, 400-499, 1008
).If not set, the range of 500-599
is used.
Special handling of the 404 HTTP response code is enabled (true
) or disabled (false
). See brokenLinkDomains for special handling details.
Only applicable when 404 is NOT in the list of failing HTTP response codes and only for the server side.
If not set, false
is used.
The ID of the parameter set.
If set to true all exceptions will be ignored. Which means defined exception patterns will not have any effect.
If set to true span failure detection will be ignored.
A list of ignored exceptions.
If an exception on the entry node of the service matches any of these patterns it is ignored by failure detection.
The display name of the FDP set.
The length of the name is limited to 150 characters.
The missing HTTP response code on the server side is a failure (true
) or a success (false
).
If not set, false
is used.
A list of success exceptions.
If an exception on the entry node of the service matches any of these patterns it is considered a success.
A list of tag-based conditions.
If any condition is fulfilled the request is considered a failure.
The ExceptionPattern
object
A list of faulty exceptions.
If an exception on any node of the service matches any of these patterns it is considered a failure.
The FdpTagCondition
object
Configuration of the tag condition in the FDP set.
The predicate that tests the value of the tag.
The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.
The key of the tag to be checked.
The FdpTagPredicate
object
The predicate that tests the value of the tag.
The actual set of fields depends on the type of the predicate. Find the list of actual objects in the description of the type field or see Failure detection API - JSON models.
Defines the actual set of fields depending on the value. See one of the following objects:
STRING_EXISTS
-> FdpTagStringExistsSTRING_EQUALS
-> FdpTagStringEqualsSTRING_STARTS_WITH
-> FdpTagStringStartsWithSTRING_ENDS_WITH
-> FdpTagStringEndsWithSTRING_CONTAINS_SUBSTRING
-> FdpTagStringContainsSubstringINTEGER_EXISTS
-> FdpTagIntegerExistsINTEGER_EQUALS
-> FdpTagIntegerEqualsINTEGER_LESS_THAN
-> FdpTagIntegerLessThanINTEGER_LESS_THAN_OR_EQUAL
-> FdpTagIntegerLessThanOrEqualINTEGER_GREATER_THAN
-> FdpTagIntegerGreaterThanINTEGER_GREATER_THAN_OR_EQUAL
-> FdpTagIntegerGreaterThanOrEqualDOUBLE_EXISTS
-> FdpTagDoubleExistsDOUBLE_EQUALS
-> FdpTagDoubleEqualsDOUBLE_LESS_THAN
-> FdpTagDoubleLessThanDOUBLE_LESS_THAN_OR_EQUAL
-> FdpTagDoubleLessThanOrEqualDOUBLE_GREATER_THAN
-> FdpTagDoubleGreaterThanDOUBLE_GREATER_THAN_OR_EQUAL
-> FdpTagDoubleGreaterThanOrEqual
DOUBLE_EQUALS
DOUBLE_EXISTS
DOUBLE_GREATER_THAN
DOUBLE_GREATER_THAN_OR_EQUAL
DOUBLE_LESS_THAN
DOUBLE_LESS_THAN_OR_EQUAL
INTEGER_EQUALS
INTEGER_EXISTS
INTEGER_GREATER_THAN
INTEGER_GREATER_THAN_OR_EQUAL
INTEGER_LESS_THAN
INTEGER_LESS_THAN_OR_EQUAL
STRING_CONTAINS_SUBSTRING
STRING_ENDS_WITH
STRING_EQUALS
STRING_EXISTS
STRING_STARTS_WITH
Response body JSON model
{"brokenLinkDomains": ["mydomain.com"],"clientSideMissingHttpCodeIsFailure": false,"description": "for requests from shipping module","failingHttpCodesClientSide": "400-599","failingHttpCodesServerSide": "500-599","http404NotFoundFailureEnabled": false,"id": "FDP_9","name": "shipping","serverSideMissingHttpCodeIsFailure": false,"successForcingExceptionPatterns": [{"classPattern": "NullPointerException","messagePattern": ""}],"tagConditions": [{"predicate": {"ignoreCase": true,"type": "STRING_EQUALS","value": "NG"},"tagKey": "myTag"}]}