Add a metric pool
Select from the following methods to add a metric pool. Changes made in the web interface are previews that you apply using the generated configuration.You can define up to 20 custom metric pools.
- Web
- Chronoctl
- Terraform
- API
Although actual management of pools is handled using
Terraform, this interface helps you
understand what changes to make to reduce guesswork and repeated updates to your
system.To create quota pools, you must have administrative privileges:
- In the navigation menu, click Go to Admin and then select Control > Metrics Quotas.
- Click Configure Quotas.
- Click Add Pool. If Add Pool is unavailable, expand Global Settings, click Edit Global Settings, and select a Quota Configuration Label.
-
The following fields appear in the drawer. Update editable fields to modify your
pool configuration:
- Pool name: (Editable) Change the pool name.
-
Data matching: The values the selected pool uses to match data.
- Quota configuration label: The label matching this pool.
- Data matching values: (Editable) The specific values for the label, which
match this pool. Add a value and press
Enteror Space to add it to the list. The value supports glob syntax.
- Observed label consumption: Displays estimated Standard Metrics consumption for the matching label values, broken down by label value. The estimate isn’t restricted to data currently assigned to the pool.
- Quota allocation: (Editable) Set a quota percentage for the selected pool. The drawer displays the equivalent persisted writes Standard Metrics value in data points per second (DPPS). To enter a DPPS value, use the DPPS mode in the Pools table.
-
Prioritization: (Conditionally editable) Add the Priority Label and high or
low priority values.
Pools using a global priority setting can’t change their priorities for an individual pool.
- In the Quota Allocation chart, select or clear pool names in the legend to include or remove their segments from the Allocation and Current Consumption stacked bars.
- Click Done after completing your changes.
- Click the Code config tab.
- Click Copy to copy the file, or Download to download the file to your computer.
-
Review the generated configuration. Percentage changes apply to licenses that
don’t have fixed-value overrides. Changes entered in DPPS mode update only the
PERSISTED_WRITES_STANDARDfixed value. The generated configuration preserves existing fixed values and thresholds for other licenses. - Add the definition to a Terraform file, or create a new Terraform file.
-
Run this command to apply the resource:
Chronoctl pool example
The following code is an example of a Chronoctl resource used to create quotas and priorities. The example creates two pools: one forteam_a and one for team_b. Each pool
defines license values for persisted writes and matched writes, along with
thresholds to
manage persisted cardinality.
Chronoctl example
Terraform pool example
The following code is an example of a Terraform file used to create pools and priorities. This code is an example and shouldn’t be used directly. This example uses the following variables in place of a specific name:MY_RESOURCEis a resource in your system.MY_SERVICEis the name of a service in your system.
Terraform example
Edit a pool
Select from the following methods to edit pools. You can also configure global priorities to change global pool quota configurations by metric label.The visual editor requires one quota configuration label across all pools and one
prioritization label within each pool. Edit configurations that use multiple matching
or prioritization labels directly in Terraform.
- Web
- Chronoctl
- Terraform
- API
To edit an existing pool:
- In the navigation menu, click Go to Admin and then select Control > Metrics Quotas.
- Click Configure Quotas.
- Click any row in the Pools table to open the Edit Pool drawer. The Edit Pool drawer contains information specific to the selected pool. These fields match the Add Pool screen, and some values can be edited.
- Make any necessary changes, and then click Done after completing your changes.
- Click the Code config tab.
- Click Copy to copy the file, or Download to download the file to your computer.
- Review the generated configuration to confirm that existing fixed values and priority thresholds are preserved.
- Add the definition to a Terraform file, or create a new Terraform file.
-
Run this command to apply the resource:
Understanding pool usage
The Pools section of the Configure Quotas page describes what pools you have, and how they’re configured. This includes:- Pool name: The display name of the pool.
- Data matching: The label values the pool matches.
- Allocation: The percentage or DPPS of total traffic guaranteed to the pool before it might be penalized.
- Consumption: The percentage or DPPS of total traffic the pool is consuming over the selected time range.
Allocation and consumption DPPS values describe
Standard Metrics License
allocation and consumption.
Histogram Metrics License allocation and consumption aren’t included in the pool’s
reported DPPS.
Quota allocations and consumption
The Quota Allocations vs Current Consumption graph compares two stacked bars. The Allocation bar segments the current quota allocation by pool. The Current Consumption bar segments current consumption by pool. Select pool names in the legend to filter both bars.Quota consumption by pools (per second)
The Quota Consumption by pools graph compares each pool’s displayed consumption with its current quota limit. Changing an allocation adds the New Quota Limit series.Understand quota consumption trends
The Quota Consumption graph plots each pool’s consumption over time. Point to a data point to display its value. Drag across the graph to focus on a time period.Preview quota allocations
The Pools include a group of text fields corresponding to each created pool. These boxes contain values with the assigned percentage (%) or DPPS for each pool. Use these to set your general pool allocations. To preview a new quota allocation, change a number in the box for the pool to be updated. Click outside the boxes to update the total. Quota settings must meet the following criteria:- In the web interface, changing a named pool’s quota adjusts the default pool so that all allocations total 100%.
- The Add Pool and Edit Pool drawers support values greater than or equal to 0.01%. Allocation fields in the Pools table support positive values with up to three decimal places.
- The API supports values from 0% through 100% with up to three decimal places. If the default pool allocation is omitted, named pool allocations can total less than 100%, and the default pool receives the remainder.
Delete a pool
Select from the following methods to delete pools.- Web
- Chronoctl
- Terraform
- API
To delete an existing pool:
- In the navigation menu, click Go to Admin and then select Control > Metrics Quotas.
- Click Configure Quotas.
- Click a non-default pool’s row in the Pools table to open the Edit Pool drawer.
- At the bottom of the Edit Pool drawer, click Remove Pool. The pool is removed from the preview and the resource definition in the Code config tab.
- Click the Code config tab.
- Click Copy to copy the file, or Download to download the file to your computer.
- Update your Terraform file with the generated definition.
-
Run this command to apply the change:
Best practices
To keep penalty behavior and cost accounting transparent and predictable, pools should be hard partitions of your system, with no one time series matching more than one pool. The following processes help ensure pools have the correct data:- Chronosphere recommends selecting a single usage tag as the pool assignment
mechanism. Picking a single tag reduces the possibility where one pool matches
serviceX, and a second pool matchesenvironmentY, where time series might match either or both definitions. - Use exact match values for the selected label. The API rejects an exact label value that’s already assigned to another pool.
- Observability Platform uses match ordering for valid glob patterns that overlap. If a time series matches more than one pool, it becomes part of the first matching pool in the list.
- If you see a pool that doesn’t match the expected penalty behavior, open the pool in the profiler and compare it with the Terraform configuration file. A match rule value might be incorrect.
Create an alert for a pool in penalty
When a pool is in a penalty state, it might drop metrics to reduce usage. For higher priority pools, this can result in the loss of important data. To reduce or prevent data loss, create a monitor to alert on pool usage and send notifications to the appropriate team.- Create a notifier and align with your internal alerting policies to route the alerts to the right team.
- Create a notification policy that connects the notifier to a monitor.
- Create a monitor.
-
In the monitor query, add the query to return each pool’s percent utilization. For
example, the following query calculates persisted writes standard metrics
utilization and excludes pools with zero allocation:
- In the Signals section, select Per time series (many alerts) as the signal.
- Define the warning condition as greater than 90 and set the sustain period to 5 minutes.
- Click Save to save the monitor.

