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. Additional information can be found on our documentation page.
builtin:anomaly-detection.kubernetes.workload
group:anomaly-detection.kubernetes
group:anomaly-detection
CLOUD_APPLICATION_NAMESPACE
- Kubernetes namespaceKUBERNETES_CLUSTER
- Kubernetes clusterenvironment
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.kubernetes.workload |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:anomaly-detection.kubernetes.workload | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.kubernetes.workload |
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
The ContainerRestarts
object
enabled
The DeploymentStuck
object
enabled
Evaluates workload condition 'Progressing'
The PendingPods
object
enabled
Number of pods in Pending
phase
The PodStuckInTerminating
object
enabled
Deleted pods in 'Running' phase
The WorkloadWithoutReadyPods
object
enabled
As of specific pod life cycles of different workload types, cronjobs and jobs are excluded.
The NotAllPodsReady
object
enabled
As of specific pod life cycles of different workload types, cronjobs and jobs are excluded.
The HighMemoryUsage
object
enabled
Memory usage (working set memory) is close to limits.
The HighCpuUsage
object
enabled
CPU usage is close to limits.
The HighCpuThrottling
object
enabled
The CPU throttling to usage ratio exceeds the specified threshold. Important: This alert uses throttled seconds / used seconds (in millicores) in contrast to Prometheus and Grafana, which use throttled periods / total periods for the throttling ratio.
The OOMKills
object
enabled
The JobFailureEvents
object
enabled
Alerts on any occurrence of Kubernetes events with reason 'BackoffLimitExceeded', 'DeadlineExceeded', or 'PodFailurePolicy'.
If 'Filter events' is enabled, make certain that you ingest events with the aforementioned reasons in order to receive alerts.
The PodBackoffEvents
object
enabled
Alerts on any occurrence of Kubernetes events with reason 'BackOff', as observed on pod statuses 'ImagePullBackOff', and 'CrashLoopBackOff'.
If 'Filter events' is enabled, make certain that you ingest events with the aforementioned reasons in order to receive alerts.
The PodEvictionEvents
object
enabled
Eviction is the process of terminating one or more pods on a node to free up resources.
Alerts on any occurrence of Kubernetes events with reason 'Evicted'.
If 'Filter events' is enabled, make certain that you ingest events with the aforementioned reasons in order to receive alerts.
The PodPreemptionEvents
object
enabled
Preemption is the process of terminating pods with lower priority so that pods with higher priority can be scheduled on a node.
Alerts on any occurrence of Kubernetes events with reason 'Preempted', or 'Preempting'.
If 'Filter events' is enabled, make certain that you ingest events with the aforementioned reasons in order to receive alerts.
The ContainerRestartsConfig
object
threshold
samplePeriodInMinutes
observationPeriodInMinutes
The DeploymentStuckConfig
object
samplePeriodInMinutes
observationPeriodInMinutes
The PendingPodsConfig
object
threshold
samplePeriodInMinutes
observationPeriodInMinutes
The PodStuckInTerminatingConfig
object
samplePeriodInMinutes
observationPeriodInMinutes
The WorkloadWithoutReadyPodsConfig
object
samplePeriodInMinutes
observationPeriodInMinutes
The NotAllPodsReadyConfig
object
samplePeriodInMinutes
observationPeriodInMinutes
The HighMemoryUsageConfig
object
threshold
samplePeriodInMinutes
observationPeriodInMinutes
The HighCpuUsageConfig
object
threshold
samplePeriodInMinutes
observationPeriodInMinutes
The HighCpuThrottlingConfig
object
threshold
samplePeriodInMinutes
observationPeriodInMinutes