builtin:infrastructure.disk.edge.anomaly-detectors)The Disk Edge feature within Dynatrace provides automatic detection of performance anomalies related to disk infrastructure. Use these settings to tailor detection sensitivity based on disk characteristics such as disk name, total space, filesystem type, disk type, and/or custom metadata. Defining custom properties can help with post processing of the event.
Policy Hierarchy and Scope
The order of policies establishes a hierarchical structure. Disk is assigned to the first policy it matches to (based on disk name, total space, filesystem type, disk type, and/or metadata) according to the policies hierarchy.
Policies can be defined within Host, Host Group and Tenant scope. Lower scope has priority over the higher one.
To learn more about Disk Edge visit its official documentation.
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:infrastructure.disk.edge.anomaly-detectors |
| HOST - HostHOST_GROUP - Host Groupenvironment |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:infrastructure.disk.edge.anomaly-detectors |
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:infrastructure.disk.edge.anomaly-detectors |
| GET | Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:infrastructure.disk.edge.anomaly-detectors |
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 |
|---|---|---|---|
Policy namepolicyName | text | - | Required |
Enabledenabled | boolean | - | Required |
Operating systemoperatingSystem | Set<EOperatingSystem> | Select the operating systems on which policy should be applied The element has these enums
| Required |
Alertsalerts | Set<Alert> | - | Required |
Disk name filtersdiskNameFilters | set | Disk will be included in this policy if any of the filters match Disk name filter has to match a required format.
Available logic operations:
Brackets ( and ) that are part of the matched disk name must be escaped with a tilde (~) | Required |
Detection rulesdetectionConditions | detectionCondition[] | Set of rules to scope which disks the policy applies to. Rules can match based on disk properties (total space, filesystem, disk type) or host resource attributes. Each disk property type can be defined at most once per policy. | Required |
PropertieseventProperties | Set<MetadataItem> | Set of additional key-value properties to be attached to the triggered event. You can retrieve the available property keys using the Events API v2. Additionally any Host resource attribute can be dynamically substituted (agent 1.325+) | Required |
Alert object| Property | Type | Description | Required |
|---|---|---|---|
Triggertrigger | enum | The element has these enums
| Required |
thresholdPercent | float | - | Required |
thresholdMilliseconds | float | - | Required |
thresholdMebibytes | float | - | Required |
thresholdNumber | float | - | Required |
sampleCountThresholdsImmediately | SampleCountThresholdsImmediately | - | Required |
sampleCountThresholds | SampleCountThresholds | - | Required |
detectionCondition object| Property | Type | Description | Required |
|---|---|---|---|
Rule scoperuleType | enum | Starting from agent 1.335 disk detection rules are supported. The element has these enums
| Required |
Disk propertyproperty | enum | The element has these enums
| Required |
Disk total space thresholdsdiskTotalCondition | DiskTotalSpaceThresholds | Specify disk total space range in GiB | Required |
Filesystem conditiondiskFilesystemCondition | text | Disk filesystem will be included in this policy if any of the filters match Disk filesystem has to match a required format.
Available logic operations:
Brackets ( and ) that are part of the matched filesystem type must be escaped with a tilde (~) | Required |
localDiskCondition | enum | The element has these enums
| Required |
Resource attributehostMetadataCondition | HostMetadataConditionType | Host resource attributes are dimensions enriching the host including custom metadata which are user-defined key-value pairs that you can assign to hosts monitored by Dynatrace. By defining custom metadata, you can enrich the monitoring data with context specific to your organization's needs, such as environment names, team ownership, application versions, or any other relevant details. See Define tags and metadata for hosts. Note: Starting from version 1.325 host resource attributes are supported in addition to host custom metadata. | Required |
MetadataItem object| Property | Type | Description | Required |
|---|---|---|---|
KeymetadataKey | text | Type 'dt.' for key hints. | Required |
ValuemetadataValue | text | Type '{' for placeholder hints. | Required |
SampleCountThresholdsImmediately object| Property | Type | Description | Required |
|---|---|---|---|
Violating samplesviolatingSamples | integer | The number of 10-second samples within the evaluation window that must exceed the threshold to trigger an event | Required |
Evaluation window size for violating samplesviolatingEvaluationWindow | integer | The number of 10-second samples that form the sliding evaluation window to detect violating samples. | Required |
Dealerting samplesdealertingSamples | integer | The number of 10-second samples within the evaluation window that must be lower than the threshold to close an event | Required |
Evaluation window size for dealerting samplesdealertingEvaluationWindow | integer | The number of 10-second samples that form the sliding evaluation window for dealerting. | Required |
SampleCountThresholds object| Property | Type | Description | Required |
|---|---|---|---|
Violating samplesviolatingSamples | integer | The number of 10-second samples within the evaluation window that must exceed the threshold to trigger an event | Required |
Evaluation window size for violating samplesviolatingEvaluationWindow | integer | The number of 10-second samples that form the sliding evaluation window to detect violating samples. | Required |
Dealerting samplesdealertingSamples | integer | The number of 10-second samples within the evaluation window that must be lower than the threshold to close an event | Required |
Evaluation window size for dealerting samplesdealertingEvaluationWindow | integer | The number of 10-second samples that form the sliding evaluation window for dealerting. | Required |
DiskTotalSpaceThresholds object| Property | Type | Description | Required |
|---|---|---|---|
Threshold above (optional)thresholdAbove | integer | If this field is empty then there is no lower limit Minimum total disk space in GiB | Optional |
Threshold below (optional)thresholdBelow | integer | If this field is empty then there is no upper limit Maximum total disk space in GiB | Optional |
HostMetadataConditionType object| Property | Type | Description | Required |
|---|---|---|---|
hostMetadataCondition | HostMetadataCondition | - | Required |
HostMetadataCondition object| Property | Type | Description | Required |
|---|---|---|---|
Key must existkeyMustExist | boolean | When enabled, the condition requires a resource attribute to exist and match the constraints; when disabled, the key is optional but must still match the constrains if it is present. | Required |
KeymetadataKey | text | - | Required |
ConditionmetadataCondition | text | This string has to match a required format.
Available logic operations:
Brackets ( and ) that are part of the matched property must be escaped with a tilde (~) | Required |