Settings API - Kubernetes workload anomaly detection schema table
Kubernetes workload anomaly detection (builtin:anomaly-detection.kubernetes.workload
)
Dynatrace automatically detects a wide range of common Kubernetes-related issues. Use these settings to configure alerts relevant to your Kubernetes workload. Changing thresholds resets the observation period.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:anomaly-detection.kubernetes.workload |
| CLOUD_APPLICATION_NAMESPACE - Kubernetes namespaceKUBERNETES_CLUSTER - Kubernetes clusterenvironment |
Parameters
Property | Label | Type | Description | Required |
---|---|---|---|---|
containerRestarts | - | ContainerRestarts | - | required |
pendingPods | - | PendingPods | - | required |
deploymentStuck | - | DeploymentStuck | - | required |
podStuckInTerminating | - | PodStuckInTerminating | - | required |
workloadWithoutReadyPods | - | WorkloadWithoutReadyPods | - | required |
notAllPodsReady | - | NotAllPodsReady | - | required |
Request body objects
The ContainerRestartsConfig
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
threshold | there is at least | integer | - | required |
samplePeriodInMinutes | per minute, for any | integer | - | required |
observationPeriodInMinutes | within the last | integer | - | required |
The ContainerRestarts
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enabled | Detect container restarts | boolean | - | required |
configuration | - | ContainerRestartsConfig | Alert if | required |
The WorkloadWithoutReadyPodsConfig
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
samplePeriodInMinutes | workload has no ready pods for at least | integer | - | required |
observationPeriodInMinutes | within the last | integer | - | required |
The WorkloadWithoutReadyPods
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enabled | Detect workloads without ready pods | boolean | As of specific pod life cycles of different workload types, cronjobs and jobs are excluded. | required |
configuration | - | WorkloadWithoutReadyPodsConfig | Alert if | required |
The NotAllPodsReadyConfig
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
samplePeriodInMinutes | some workload pods are not ready for at least | integer | - | required |
observationPeriodInMinutes | within the last | integer | - | required |
The NotAllPodsReady
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enabled | Detect workloads with non-ready pods | boolean | As of specific pod life cycles of different workload types, cronjobs and jobs are excluded. | required |
configuration | - | NotAllPodsReadyConfig | Alert if | required |
The PendingPodsConfig
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
threshold | there is at least | integer | - | required |
samplePeriodInMinutes | stuck in pending state for at least | integer | - | required |
observationPeriodInMinutes | within the last | integer | - | required |
The PendingPods
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enabled | Detect pending pods | boolean | Number of pods in pending phase | required |
configuration | - | PendingPodsConfig | Alert if | required |
The DeploymentStuckConfig
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
samplePeriodInMinutes | workload stops progressing for at least | integer | - | required |
observationPeriodInMinutes | within the last | integer | - | required |
The DeploymentStuck
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enabled | Detect stuck workloads | boolean | - | required |
configuration | - | DeploymentStuckConfig | Alert if | required |
The PodStuckInTerminatingConfig
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
samplePeriodInMinutes | pod termination stops progressing for at least | integer | - | required |
observationPeriodInMinutes | within the last | integer | - | required |
The PodStuckInTerminating
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enabled | Detect pods stuck in terminating | boolean | - | required |
configuration | - | PodStuckInTerminatingConfig | Alert if | required |