List Pods
dynatrace_list_podsList Kubernetes pods with CPU and memory metrics by cluster, namespace, or workload. Includes quiet pods with no logs; optional log scan adds pods that emitted logs.
Instructions
Pod table from kube CPU/memory metrics for any cluster/namespace/workload. Quiet pods (no logs) are included. Pass filters from list_clusters / list_namespaces or the user; do not assume names. Unfiltered lists are capped. includeLogs is an optional extra Grail scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End: now or ISO-8601 | |
| pod | No | Pod name: exact replica, prefix ending with '-', or glob (my-app-*). | |
| from | No | Start: now-30m or ISO-8601 | |
| limit | No | ||
| around | No | Pivot timestamp for a window | |
| window | No | Half-window around pivot, e.g. 2m | |
| cluster | No | Dynatrace k8s.cluster.name. Discover with dynatrace_list_clusters; do not assume a cluster. | |
| endDate | No | Calendar end YYYY-MM-DD (UTC day) | |
| workload | No | Workload or deployment name (k8s.workload.name / k8s.deployment.name). | |
| namespace | No | Kubernetes namespace (k8s.namespace.name). Discover with dynatrace_list_namespaces. | |
| startDate | No | Calendar start YYYY-MM-DD (UTC day) | |
| connection | No | Named connection from env (default, optional stage/prod aliases, or a DYNATRACE_CONNECTIONS key) | |
| includeLogs | No | Also list pods that emitted logs (expensive Grail scan) | |
| allowLongRange | No | Allow ranges longer than the default cap |