Rate Control for Traces stream ingestion :: Kloudfuse Docs
Rate Control for Traces stream ingestion
You can customize an ingestion rate control mechanism that enables you to limit the amount of ingested traces data.
Follow the steps in Navigate to Rate Control Policy Management.
In the list of streams, hover over the Traces stream, and click the (Edit) icon.
Configure Traces Rate Control
To add or change the ingestion rate control for traces, configure the rate control in the TRACES - Rate Control interface:
Stream Type
The default stream type is Traces.
You can choose another stream type: Metrics, Events, Logs, or RUM.
Ingestion Rate
Specify the number of spans per second.
The default is 100 spans per second.
This represents the maximum number of items that Kloudfuse can ingest for the stream, per second.
Burst
The maximum number of spans that Kloudfuse can ingest from a single burst.
The default is 6000 spans.
To enable bursting while maintaining average rates, we recommend that you modify the burst size to match your business needs:
burst=rate
Default Rate
The absolute rate (in spans/sec) set for the default class of the Traces stream.
Click (Save Rate Control) to finalize the rate control assignment to the stream.
After configuring the rates, the traces stream definition may look like this. The Traces Drop Percentage (1hr) changes over time.
Split the stream allocation
At a more granular level, you can distribute the ingestion rate of your traces stream across distinct classes.
- Complete the steps in Add Classes.
Add Classes
To assign rates to classes, click (Add Class):
In the Class field, enter the name of the Class, such as Class 1, Class 2, and so on.
Assign a rate (in the appropriate units for the stream type).
| The total assigned rate across all classes (default and custom) cannot exceed the ingestion rate. The Default Rate is a configurable rate that applies to streams that don’t match any of the defined custom classes. |
Manage Class Rules
To use classes, you must first define them. Click Manage Class Rules:
In the Rate Control Manage Class Rules page, proceed to define the classes.
Click (Add class rule).
Name the class (e.g., Class 1).
Specify at least one filter for the class:
- Key: The label name that can be extracted from, or assigned to, the stream.
- Value: The value of the key.
To add another filter to the class definition, click (Add filter).
To delete a filter from a class, click the (Delete) icon next to the filter definition.
To delete a class, click the (Delete) icon next to the class name.
Delete Traces Rate Control
On the Rate Control Policy Management page, hover over the Traces stream, where you plan to delete the rate control policy.
Click the (Delete) option.
In the Delete Rate Control confirmation dialog, click Delete.