Settings API - Disk anomaly detection rules schema table
Disk anomaly detection rules (builtin:anomaly-detection.disk-rules)
Dynatrace automatically detects infrastructure-related performance anomalies such as low disk-space conditions. Use these settings (and the Infrastructure settings (<your-dynatrace-url>//ui/settings/builtin:anomaly-detection.infrastructure-disks "Visit Infrastructure anomaly detection settings"
)) to configure detection sensitivity, set alert thresholds, or disable alerting for disks.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:anomaly-detection.disk-rules |
| HOST_GROUP - Host Groupenvironment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.disk-rules |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:anomaly-detection.disk-rules | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.disk-rules |
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
Property | Label | Type | Description | Required |
---|---|---|---|---|
name | Name | text | - | required |
enabled | Enabled | boolean | - | required |
metric | Metric to alert on | enum | - | required |
thresholdPercent | Alert if lower than | float | - | required |
thresholdMilliseconds | Alert if higher than | float | - | required |
sampleLimit | Sample limit | SampleLimit | Only alert if the threshold was violated in at least n of the last m samples | required |
diskNameFilter | Disk name filter | DiskNameFilter | Only apply to disks whose name matches | required |
tagFilters | Host filter | set | Only apply to hosts that have the following tags | required |
Request body objects
The DiskNameFilter
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
operator | Operator | enum | - | required |
value | Matching text | text | - | optional |
The SampleLimit
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
violatingSamples | Minimum number of violating samples | integer | - | required |
samples | ... within the last | integer | - | required |