• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Anomaly detection for mobile applications

Settings API - Anomaly detection for mobile applications schema table

Anomaly detection for mobile applications (builtin:anomaly-detection.rum-mobile)

Dynatrace automatically detects application-related performance anomalies such as response time degradations 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 IDSchema groupsScope
builtin:anomaly-detection.rum-mobile
  • group:anomaly-detection
DEVICE_APPLICATION_METHOD - Mobile app key user action
MOBILE_APPLICATION - Mobile App
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.rum-mobile
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:anomaly-detection.rum-mobile
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.rum-mobile

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

PropertyLabelTypeDescriptionRequired
errorRateIncreaseError rate increaseErrorRateIncrease-required
slowUserActionsSlow user actionsSlowUserActions-required
unexpectedLowLoadUnexpected low loadUnexpectedLowLoad-required
unexpectedHighLoadUnexpected high loadUnexpectedHighLoad-required

Request body objects

The UnexpectedHighLoad object
PropertyLabelTypeDescriptionRequired
enabledDetect unexpected high loadboolean-required
thresholdPercentageAlert if the observed traffic exceeds this thresholdfloat

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 UnexpectedLowLoad object
PropertyLabelTypeDescriptionRequired
enabledDetect unexpected low loadboolean-required
thresholdPercentageAlert if the observed traffic drops below this thresholdfloat

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 SlowUserActionsAvoidOveralerting object
PropertyLabelTypeDescriptionRequired
minActionRate-integer-required
The SlowUserActionsManualSlowest object
PropertyLabelTypeDescriptionRequired
durationThresholdAbsolute thresholdfloat-required
The SlowUserActionsManualAll object
PropertyLabelTypeDescriptionRequired
durationThresholdAbsolute thresholdfloat-required
The SlowUserActionsFixed object
PropertyLabelTypeDescriptionRequired
durationThresholdAllFixedAll user actionsSlowUserActionsManualAll

Alert if the action duration of all user actions degrades beyond the absolute threshold:

required
durationThresholdSlowestSlowest 10%SlowUserActionsManualSlowest

Alert if the action duration of the slowest 10% of user actions degrades beyond the absolute threshold:

required
durationAvoidOveralertingAvoid over-alertingSlowUserActionsAvoidOveralerting

To avoid over-alerting do not alert for low traffic applications with less than

required
sensitivityDetection sensitivityenum-required
The SlowUserActionsAutoSlowest object
PropertyLabelTypeDescriptionRequired
durationThresholdAbsolute thresholdfloat-required
slowdownPercentageRelative thresholdfloat-required
The SlowUserActionsAutoAll object
PropertyLabelTypeDescriptionRequired
durationThresholdAbsolute thresholdfloat-required
slowdownPercentageRelative thresholdfloat-required
The SlowUserActionsAuto object
PropertyLabelTypeDescriptionRequired
durationThresholdAllAll user actionsSlowUserActionsAutoAll

Alert if the action duration of all user actions degrades beyond both the absolute and relative threshold:

required
durationThresholdSlowestSlowest 10%SlowUserActionsAutoSlowest

Alert if the action duration of the slowest 10% of user actions degrades beyond both the absolute and relative threshold:

required
durationAvoidOveralertingAvoid over-alertingSlowUserActionsAvoidOveralerting

To avoid over-alerting do not alert for low traffic applications with less than

required
The SlowUserActions object
PropertyLabelTypeDescriptionRequired
enabledDetect slow user actionsboolean-required
detectionModeDetection strategy for slow user actionsenum-required
slowUserActionsAuto-SlowUserActionsAuto-required
slowUserActionsFixed-SlowUserActionsFixed-required
The ErrorRateIncreaseFixed object
PropertyLabelTypeDescriptionRequired
thresholdAbsoluteAbsolute thresholdfloat-required
sensitivityDetection sensitivityenum-required
The ErrorRateIncreaseAuto object
PropertyLabelTypeDescriptionRequired
thresholdAbsoluteAbsolute thresholdfloat-required
thresholdRelativeRelative thresholdfloat-required
The ErrorRateIncrease object
PropertyLabelTypeDescriptionRequired
enabledDetect reported error rate increaseboolean-required
detectionModeDetection strategy for error rate increasesenum-required
errorRateIncreaseAuto-ErrorRateIncreaseAuto

Alert if the percentage of user actions affected by reported errors exceeds both the absolute threshold and the relative threshold

required
errorRateIncreaseFixed-ErrorRateIncreaseFixed

Alert if the custom reported error rate threshold is exceeded during any 5-minute period

required