Anomaly detection for applications (builtin:anomaly-detection.rum-web)
Dynatrace automatically detects application-related performance anomalies such as response time degradations, failure rate increases, and traffic spikes. Use these settings to configure detection sensitivity, set alert thresholds, or disable alerting for certain applications.
To avoid false-positive problem notifications, automated anomaly detection is only available for applications and services that have run for at least 20% of a week (7 days).
Schema ID Schema groups Scope builtin:anomaly-detection.rum-web
APPLICATION_METHOD
- User Action
APPLICATION
- Web application
environment
GET Managed https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.rum-web
SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:anomaly-detection.rum-web
Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.rum-web
Authentication 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 .
Parameters Request body objects The responseTimeAutoAll
object Property Label Type Description Required degradationMilliseconds Absolute threshold float - required degradationPercent Relative threshold float - required
The responseTimeAutoSlowest
object Property Label Type Description Required slowestDegradationMilliseconds Absolute threshold float - required slowestDegradationPercent Relative threshold float - required
The overAlertingProtectionAuto
object Property Label Type Description Required actionsPerMinute Minimum number of actions per minute float Only alert if there are at least
required minutesAbnormalState Only alert if the abnormal state remains for at least float - required
The responseTimeAuto
object Property Label Type Description Required responseTimeAll All user actions responseTimeAutoAll Alert if the median response time of all user actions degrades beyond both the absolute and relative thresholds:
required responseTimeSlowest Slowest 10% responseTimeAutoSlowest Alert if the response time of the slowest 10% of requests degrades beyond both the absolute and relative thresholds:
required overAlertingProtection Avoid over-alerting overAlertingProtectionAuto - required
The responseTimeFixedAll
object Property Label Type Description Required degradationMilliseconds Alert if the key performance metric degrades beyond this many ms within an observation period of 5 minutes float - required
The responseTimeFixedSlowest
object Property Label Type Description Required slowestDegradationMilliseconds Alert if the key performance metric of the slowest 10% degrades beyond this many ms within an observation period of 5 minutes float - required
The responseTimeFixed
object Property Label Type Description Required responseTimeAll All user actions responseTimeFixedAll Alert if the key performance metric of all requests degrades beyond this threshold:
required responseTimeSlowest Slowest 10% responseTimeFixedSlowest Alert if the key performance metric of the slowest 10% of requests degrades beyond this threshold:
required overAlertingProtection Avoid over-alerting overAlertingProtectionAuto - required sensitivity Sensitivity enum - required
The responseTime
object Property Label Type Description Required enabled Detect key performance metric degradations boolean - required detectionMode Detection strategy for key performance metric degradations enum - required responseTimeAuto - responseTimeAuto - required responseTimeFixed - responseTimeFixed - required
The trafficSpikes
object Property Label Type Description Required trafficSpikePercentage Alert if the observed traffic is more than this percentage of the expected value float - required minutesAbnormalState Minutes an application has to stay in abnormal state before alert float - required
The trafficDrops
object Property Label Type Description Required trafficDropPercentage Alert if the observed traffic is less than this percentage of the expected value float - required abnormalStateAbnormalState Minutes the observed traffic has to stay in abnormal state before alert float - required
The errorRateAuto
object Property Label Type Description Required absoluteIncrease Absolute threshold float - required relativeIncrease Relative threshold float - required overAlertingProtection Avoid over-alerting overAlertingProtectionAuto - required
The errorRateFixed
object Property Label Type Description Required maxFailureRateIncrease Alert if this custom error rate threshold is exceeded during any 5-minute-period float - required errorRateReqPerMin Minimum number of actions per minute float To avoid over-alerting for low traffic applications
required errorRateSensitivity Sensitivity enum - required minutesAbnormalState Amount of minutes the observed traffic has to stay in abnormal state before alert float - required
The appTrafficDrops
object Property Label Type Description Required enabled Detect traffic drops boolean - required trafficDrops - trafficDrops Dynatrace learns your typical application traffic over an observation period of one week.
Depending on this expected value Dynatrace detects abnormal traffic drops within your application.
required
The appTrafficSpikes
object Property Label Type Description Required enabled Detect traffic spikes boolean - required trafficSpikes - trafficSpikes Dynatrace learns your typical application traffic over an observation period of one week.
Depending on this expected value Dynatrace detects abnormal traffic spikes within your application.
required
The errorRate
object Property Label Type Description Required enabled Detect increases in JavaScript errors boolean - required errorRateDetectionMode Detection strategy for increases in JavaScript errors enum - required errorRateAuto - errorRateAuto Alert if the percentage of failing user actions increases by both the absolute and relative thresholds:
required errorRateFixed - errorRateFixed - required