Overview
Chargeback shows Kafka costs across five axes — storage, partitions, ingress, egress and Kafka Connect — and lets you group those costs by cluster, application or label. Each row supports drill-down into topics, service accounts and connectors. For background on the cost axes and the metrics available per cluster type, see Chargeback concepts.From our blog: Chargeback: attribute and map Kafka costs to your business Practical strategies to tag, trace, and report Kafka spending by team and application.
Set up Chargeback
The first time an administrator opens the Chargeback page, an onboarding wizard runs through two steps:Set cost rates
For each cluster, enter the unit costs that match your provider pricing or internal infrastructure model:
Each value supports up to eight decimal places, with a maximum of
| Field | Unit | Required |
|---|---|---|
| Bytes stored | $/GB/hour | Yes |
| Partitions | $/partition/hour | Yes |
| Ingress | $/GB | No |
| Egress | $/GB | No |
| Connector task hour | $/task/hour | No |
9.99999999. Leaving ingress, egress or connector task hour empty is the same as 0.The connector task hour cost is the default rate applied to every Kafka Connect connector task on the cluster. To charge different rates per connector type, add a per-connector-class override (for example, a higher rate for an S3 sink connector than for a JDBC source connector). An override takes precedence over the default for connectors of that class.Select Chargeback Labels
Pick the label keys you want to group costs by (for example,
team, cost-center, env).Only labels currently attached to topics or service accounts are offered. Conduktor-defined labels (the conduktor.io/* namespace) are excluded.You can skip this step and add Chargeback Labels later from the settings drawer.View costs
Use the filter bar at the top of the page to control what’s displayed.| Control | What it does |
|---|---|
| View by | Group rows by Cluster, Application, Application Instance, or one of the configured Chargeback Labels |
| Show | Pick which cost columns to display (Overall, Storage, Partitions, Connect, Ingress, Egress) |
| Period | Switch between 7D, 30D, 6M, 12M and YTD |
| Search | Narrow the rows by name match within the current view |
Drill into topics and service accounts
Each row in the Cluster, Application Instance and Label views can be expanded to show the topics, service accounts and connectors that contributed to it.- Topics: storage, partitions, ingress and egress per topic
- Service accounts: ingress and egress per service account
- Connectors: connect cost per connector, grouped by Kafka Connect cluster, with the connector class shown
How metrics are calculated
Metrics are stored as raw counters and costs are computed at query time. Updating a unit cost takes effect immediately across all historical periods.- Storage
- Partitions
- Ingress
- Egress
- Connect
- Total cost
1,073,741,824 is one GB in bytes (1024³). byte_hours accumulates from periodic snapshots: each snapshot multiplies the topic’s current retained bytes by the snapshot interval expressed in hours.Update cost rates and labels
Click the settings (cog) icon at the top right of the Chargeback page to open the settings drawer:- General tab: edit cost rates per cluster, or add a new cluster row
- Chargeback Labels tab: add or remove the label keys eligible for grouping
Export data
Click Export in the filter bar to download the current view as a CSV. The export reflects the active View by, Show selections, Period and Search, so only data matching your current view is included. The default file name isChargeback_<startDate>_<endDate>_<view>.csv. The granularity of the exported series matches the selected period: 7D and 30D split by day, 6M, 12M and YTD split by month.
Permissions
| Action | Required permission |
|---|---|
| View costs and drill-downs | Can view Chargeback (PlatformChargebackView) |
| Set cost rates | Can manage Chargeback (PlatformChargebackManage) |
| Select Chargeback Labels | Can manage Chargeback (PlatformChargebackManage) |