get_resource_costs
Get cost attribution by namespace and receive optimization suggestions. Approximate estimates based on Prometheus metrics; optionally filter by namespace and timeframe.
Instructions
Get resource cost attribution by namespace with optimization suggestions. Note: Requires Prometheus backend. Cost estimates are approximate.
Args: namespace: Filter by namespace (optional — omit for all namespaces) timeframe_minutes: Usage averaging window (1-1440)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | ||
| timeframe_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |