• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Kubernetes cluster anomaly detection

Settings API - Kubernetes cluster anomaly detection schema table

Kubernetes cluster anomaly detection (builtin:anomaly-detection.kubernetes.cluster)

Dynatrace automatically detects a wide range of common Kubernetes-related issues. Use these settings to configure alerts relevant to your Kubernetes cluster. Changing thresholds resets the observation period.

Schema IDSchema groupsScope
builtin:anomaly-detection.kubernetes.cluster
  • group:anomaly-detection.kubernetes
  • group:anomaly-detection
KUBERNETES_CLUSTER - Kubernetes cluster
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.kubernetes.cluster
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:anomaly-detection.kubernetes.cluster
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:anomaly-detection.kubernetes.cluster

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
readinessIssues-ReadinessIssues

Alerts if cluster has not been ready for a given amount of time

required
cpuRequestsSaturation-CpuRequestsSaturation-required
memoryRequestsSaturation-MemoryRequestsSaturation-required
podsSaturation-PodsSaturation-required
monitoringIssues-MonitoringIssues-required

Request body objects

The CpuRequestsSaturationConfig object
PropertyLabelTypeDescriptionRequired
thresholdamount of requested CPU is aboveinteger-required
samplePeriodInMinutesof cluster CPU capacity for at leastinteger-required
observationPeriodInMinuteswithin the lastinteger-required
The CpuRequestsSaturation object
PropertyLabelTypeDescriptionRequired
enabledDetect cluster CPU-request saturationboolean-required
configuration-CpuRequestsSaturationConfig

Alert if

required
The MemoryRequestsSaturationConfig object
PropertyLabelTypeDescriptionRequired
thresholdamount of requested memory is aboveinteger-required
samplePeriodInMinutesof cluster memory capacity for at leastinteger-required
observationPeriodInMinuteswithin the lastinteger-required
The MemoryRequestsSaturation object
PropertyLabelTypeDescriptionRequired
enabledDetect cluster memory-request saturationboolean-required
configuration-MemoryRequestsSaturationConfig

Alert if

required
The ReadinessIssuesConfig object
PropertyLabelTypeDescriptionRequired
samplePeriodInMinutescluster is not ready for at leastinteger-required
observationPeriodInMinuteswithin the lastinteger-required
The ReadinessIssues object
PropertyLabelTypeDescriptionRequired
enabledDetect cluster readiness issuesboolean

Evaluates the Kubernetes readyz endpoint

required
configuration-ReadinessIssuesConfig

Alert if

required
The PodsSaturationConfig object
PropertyLabelTypeDescriptionRequired
thresholdnumber of running pods is higher thaninteger-required
samplePeriodInMinutesof schedulable pod capacity for at leastinteger-required
observationPeriodInMinuteswithin the lastinteger-required
The PodsSaturation object
PropertyLabelTypeDescriptionRequired
enabledDetect cluster pod-saturationboolean-required
configuration-PodsSaturationConfig

Alert if

required
The MonitoringIssuesConfig object
PropertyLabelTypeDescriptionRequired
samplePeriodInMinutesmonitoring is not available for at leastinteger-required
observationPeriodInMinuteswithin the lastinteger-required
The MonitoringIssues object
PropertyLabelTypeDescriptionRequired
enabledDetect monitoring issuesboolean-required
configuration-MonitoringIssuesConfig

Alert if

required