By label
Cost broken down by any label — namespace, severity, region, container, HTTP code, anything you tag on. Returns the most expensive values for that label, ranked. Call Labels first if you don't know what labels are available.
Example
"most expensive Kubernetes namespaces, last 7d"
payments— $24K/wk (40% of total)cart— $18K/wk (30%)ad-platform— $11K/wk (18%)checkout— $7K/wk (12%)
More to ask
- "cost by severity, last hour"
- "top HTTP codes by cost"
- "loudest containers in payments-svc"
Prerequisites
This tool requires the Reporter deployed.
Tool schema (advanced)
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
label |
string | yes | — | Label to group by. Common choices: tenx_user_service, severity_level, k8s_namespace, k8s_container, country, http_code. |
timeRange |
string | no | 7d |
One of: 15m, 1h, 6h, 1d, 7d, 30d. |
service |
string | no | — | Scope to a single service (sets a tenx_user_service filter). |
severity |
string | no | — | Filter by severity_level (e.g., ERROR). |
limit |
number | no | 20 |
Max rows to return. 1–50. |
analyzerCost |
number | no | from profile | log analyzer ingestion cost in $/GB. |
environment |
string | no | — | Environment nickname. |