builtin:unified-failure-detection-ruleset)
Configure failure detection rules which are evaluated in order until a rule matches.
Dynatrace failure detection automatically detects the vast majority of error conditions in your environment. However, not all services follow the OpenTelemetry specification to heart, so there may be cases where the default span failure detection settings don't meet your particular needs. E.g. your library doesn't use the event 'exception' for exceptions, but another event such as 'fatal-error'. Or you use a custom 'internal.severity' span attribute to transport error information. In such cases, you can configure failure rules which are evaluated in order. As soon as a rule matches, subsequent rules will not be evaluated.
Note: This config applies to your whole tenant and to any span captured by Dynatrace.
For the allowed syntax of the conditions (in Advanced mode) please consider the Dynatrace Query Language (DQL) documentation
Schema ID | Schema groups | Scope |
---|---|---|
builtin:unified-failure-detection-ruleset |
| SERVICE - Serviceenvironment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:unified-failure-detection-ruleset |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:unified-failure-detection-ruleset | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:unified-failure-detection-ruleset |
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 |
---|---|---|---|
Enabledenabled | boolean | The rule will be evaluated. | required |
Rulerule | Rule | - | required |
Rule
objectProperty | Type | Description | Required |
---|---|---|---|
Rule nameruleName | text | - | required |
Rule verdictspanVerdictIfRuleMatches | enum | Indicates the failure or the success of a span if the rule matches.
| required |
DQL expressiondqlExpression | text | A DQL match expression. If it evaluates to true, no further rules will be evaluated. | required |