• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Disk anomaly detection rules

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) to configure detection sensitivity, set alert thresholds, or disable alerting for disks.

Schema IDSchema groupsScope
builtin:anomaly-detection.disk-rules
  • group:anomaly-detection.infrastructure
  • group:anomaly-detection
HOST_GROUP - Host Group
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.disk-rules
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:anomaly-detection.disk-rules
Environment ActiveGatehttps://{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

PropertyLabelTypeDescriptionRequired
nameNametext-required
enabledEnabledboolean-required
metricMetric to alert onenum-required
thresholdPercentAlert if lower thanfloat-required
thresholdMillisecondsAlert if higher thanfloat-required
sampleLimitSample limitSampleLimit

Only alert if the threshold was violated in at least n of the last m samples

required
diskNameFilterDisk name filterDiskNameFilter

Only apply to disks whose name matches

required
tagFiltersHost filterset

Only apply to hosts that have the following tags

required

Request body objects

The DiskNameFilter object
PropertyLabelTypeDescriptionRequired
operatorOperatorenum-required
valueMatching texttext-optional
The SampleLimit object
PropertyLabelTypeDescriptionRequired
violatingSamplesMinimum number of violating samplesinteger-required
samples... within the lastinteger-required