---
title: Data usage metrics
description: Turn your Coralogix usage into Prometheus metrics you can chart, alert on, and attribute to a team, with the three metrics, their labels, and what enabling them costs.
url: https://coralogix.com/docs/user-guides/account-management/payment-and-billing/data-usage-metrics/
product: dataplans
feature: Data Usage
feature_id: data-usage
feature_identifier: dataplans/data-usage
last_updated: '2026-11-12'
---

# Data usage metrics

Data usage metrics turn your [data usage](https://coralogix.com/docs/user-guides/account-management/payment-and-billing/data-usage.md) into three Prometheus metrics. Once they exist, your consumption is queryable like any other metric, so you can chart it on a custom dashboard, alert before you burn through a daily quota, and attribute spend to an application, a subsystem, or a TCO priority.

[![The Usage \&amp; Quota page: the CX units and AI Units tabs, an overview of daily quota left, blocked days and units, and maximum, minimum and average daily usage, above a counted units per day chart stacked by pillar and priority against the quota line](/docs/assets/images/usage-and-quota-overview-66ffa8668e0ddc91a1419871c3247c9f.webp)](https://coralogix.com/docs/assets/images/usage-and-quota-overview-66ffa8668e0ddc91a1419871c3247c9f.webp)

## What you need

Three things have to be in place before usage data appears. The product checks all three and tells you which is missing when you open the **Usage & Quota** page.

| Requirement                               | Why                                                                                                                                                                                        |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| An S3 metrics bucket                      | Usage data is stored there. Without it, the metrics toggle stays disabled. See [Connect an S3 archive](https://coralogix.com/docs/user-guides/data-flow/s3-archive/connect-s3-archive.md). |
| Data usage metrics enabled                | Produces the three metrics. See [Data Usage settings panel](https://coralogix.com/docs/user-guides/account-management/payment-and-billing/data-usage-settings-panel.md).                   |
| The Coralogix System Monitoring extension | Provides the Data Usage dashboard that charts the metrics. See [Extensions](https://coralogix.com/docs/integrations/extensions.md).                                                        |

You can use the metrics without the extension by building your own dashboards and alerts. The extension matters when you want the ready-made Data Usage dashboard rather than starting from an empty one.

Note

Enabling metrics starts an auto-populate process covering the previous 24 hours. It can take up to two hours before data appears.

## The metrics

| Metric                       | What it reports                  |
| ---------------------------- | -------------------------------- |
| `cx_data_usage_units`        | Units consumed                   |
| `cx_data_usage_bytes_total`  | Bytes sent                       |
| `cx_data_plan_units_per_day` | The daily quota your plan allows |

The third is what makes the other two actionable: comparing consumption against the quota is how you express "percentage of today's quota used" in a query.

## What enabling it costs

The three metrics count towards your metrics quota like any other metric, so turning them on is not free.

The cost scales with **cardinality**, which means it depends on how many distinct combinations of the labels below your traffic produces. An account sending logs from a handful of applications generates far fewer series than one sending from hundreds.

As a rule of thumb, 30 GB of metrics consumes 1 GB of quota. In practice the three metrics typically consume well under 100 MB of quota per day.

Note

These figures are a guide rather than a commitment. To see the real cost for your account, enable the metrics and check your metrics usage after a full day.

## Enable data usage metrics

Select **Settings**, then **Usage & Quota** under **Subscriptions**. Select **Settings** on that page, then turn on **Enable metrics**.

The toggle is unavailable when no S3 metrics bucket is configured, or when you lack the permission to manage data usage. For the full procedure, the permission it needs, and the related `dataplan.usage_events` dataset, see [Data Usage settings panel](https://coralogix.com/docs/user-guides/account-management/payment-and-billing/data-usage-settings-panel.md).

## View your usage

The Coralogix System Monitoring extension includes a **Data Usage** dashboard built on these metrics. It highlights your top data-sending applications and makes usage spikes visible without you building anything. To open it, select the more actions menu in the **Usage & Quota** header, then **View Data Usage Dashboard**.

The **Usage & Quota** page itself charts your counted units per day against your quota, broken down by pillar and priority, with an **Aggregation** control for **Daily**, **Weekly**, or **Monthly** buckets. Reach for the metrics when you need something that page does not give you: a panel beside your own service metrics, a custom grouping, or an alert. Chart them on a [custom dashboard](https://coralogix.com/docs/user-guides/custom-dashboards/introduction.md).

## Alert on your usage

Because the quota is a metric, you can alert on consumption as a proportion of it rather than on a fixed number. A metric threshold alert on this expression fires when the team passes a share of today's quota:

```
sum(cx_data_usage_units) / max(cx_data_plan_units_per_day) * 100
```

To catch a sudden spike rather than a gradual climb, alert on the rate of increase instead:

```
increase(cx_data_usage_units[30m])
```

For hard limits rather than notifications, see [Quota rules](https://coralogix.com/docs/user-guides/account-management/payment-and-billing/quota-management.md).

## Labels

Every data point carries the labels below. They are what you group and filter by when attributing usage.

| Label                  | Description                                                                       |
| ---------------------- | --------------------------------------------------------------------------------- |
| `pillar`               | Type of traffic (logs, spans, metrics) in each data point                         |
| `subsystem_name`       | Subsystem that generated the traffic, used by the logs and spans pillars          |
| `application_name`     | Application that generated the traffic, used by the logs and spans pillars        |
| `priority`             | TCO priority (high, medium, low, blocked)                                         |
| `severity`             | Log severity (critical, error, warn, info, debug, trace), used by the logs pillar |
| `blocking_reason_type` | Why traffic was blocked. The value is either `tco_policy` or `parsing_rule`.      |
| `blocking_reason_name` | The name of the TCO policy or parsing rule blocking the traffic                   |

Note

Traffic that reaches Coralogix without an application or subsystem is reported under `cx_default` or `cx_null` rather than being dropped. Account for those values when you filter or group by `application_name`, or a dashboard filtered to named applications will understate your usage.

## Troubleshooting

| What you see                                                   | What to check                                                                   |
| -------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| The metrics toggle is unavailable                              | No S3 metrics bucket is configured, or you lack permission to manage data usage |
| You cannot find the toggle                                     | It is behind **Settings** on the **Usage & Quota** page, not on the page itself |
| The toggle is on but no data appears                           | The auto-populate process takes up to two hours after enabling                  |
| The Data Usage dashboard is empty                              | The Coralogix System Monitoring extension is not deployed                       |
| A dashboard filtered by application shows less than you expect | Traffic with no application is reported as `cx_default` or `cx_null`            |

## Related resources

* [Data Usage settings panel](https://coralogix.com/docs/user-guides/account-management/payment-and-billing/data-usage-settings-panel.md)
* [Data usage](https://coralogix.com/docs/user-guides/account-management/payment-and-billing/data-usage.md)
* [Quota rules](https://coralogix.com/docs/user-guides/account-management/payment-and-billing/quota-management.md)
* [Extensions](https://coralogix.com/docs/integrations/extensions.md)
* [Data Usage Service API](https://coralogix.com/docs/developer-portal/apis/data-management/data-usage-service-api.md)
