List Kubernetes Namespaces
dynatrace_list_namespacesList Kubernetes namespaces in a Dynatrace tenant, optionally filtered by cluster, to inventory workloads before running log or metric queries.
Instructions
List namespaces in this tenant, optionally filtered by cluster.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End: now or ISO-8601 | |
| from | No | Start: now-30m or ISO-8601 | |
| 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) | |
| 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) | |
| allowLongRange | No | Allow ranges longer than the default cap |