Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.conduktor.io/llms.txt

Use this file to discover all available pages before exploring further.

Chargeback is a cost allocation feature that helps you track, visualize and attribute Kafka infrastructure costs to clusters, teams or applications. By measuring resource use over time, Chargeback gives you visibility into Kafka spending, supports cost accountability and helps you make informed decisions about resource optimization. Conduktor measures four cost axes — storage, partitions, ingress and egress — and presents costs through three views: by cluster, by application or by label.
From Console v1.45.0, Chargeback unifies the previous with Gateway and without Gateway experiences into a single page. The previous V1 and V2 endpoints are deprecated but still respond to existing API clients.

Cost axes

Each cluster has its own configurable unit costs across four axes. Set the costs that match your provider pricing or your internal infrastructure model.
Cost axisUnitWhat it measures
Storage$/GB/hourBytes retained on disk per topic
Partitions$/partition/hourNumber of partitions per topic
Ingress$/GBBytes produced into Kafka
Egress$/GBBytes consumed from Kafka
A cluster only needs the axes that match its pricing model. For an on-premises cluster, you might only set storage and partitions; for a Confluent Cloud cluster, you can set all four. Costs are calculated at query time, so updating a unit cost takes effect immediately across historical data.

What you can measure per cluster type

Chargeback collects metrics from three sources: Console’s metadata indexer for storage and partition counts, the Confluent Cloud Metrics API for Confluent Cloud throughput, and the observability Interceptor for Gateway throughput.
Cluster typeStoragePartitionsIngress / egress per topicIngress / egress per service account
Vanilla Kafka
Confluent Cloud✓ (no topic breakdown)
Gateway
Storage and partition metrics are bucketed by UTC day. Confluent Cloud throughput is collected hourly. Gateway throughput is streamed continuously through the observability Interceptor and flushed at a configurable interval.

Views

Chargeback presents data through three top-level views, each with the same cost columns and the ability to drill down into topics and service accounts.
  • Cluster view: costs grouped by Kafka cluster
  • Application view: costs grouped by , with drill-down into application instances
  • Label view: costs grouped by the values of a label key (for example, env=production or team=payments)
Label-based grouping requires the label key to first be selected as a Chargeback Label by an administrator.

Chargeback Labels

Not every label attached to a topic or is meaningful for cost attribution. Administrators select a subset of label keys to expose in Chargeback. Once a label key is enabled, you can group costs by its values. Topics or service accounts without that label are excluded from the grouping. Chargeback Labels are global — the same set of label keys applies across all clusters.

Permissions

Two platform-level permissions control access:
  • Can view Chargeback (PlatformChargebackView): view cost metrics across all views and drill-downs
  • Can manage Chargeback (PlatformChargebackManage): set per-cluster unit costs and select Chargeback Labels
By default, platform admins have both permissions. Console shows cost attribution for all clusters regardless of the cluster-level permissions assigned to the user.