Supported Data Types
📊 MetricsSupported Metric Types
| Metric Type | Support Level | Notes |
|---|---|---|
| Gauge | ✅ Full | |
| Sum (Counter) | ✅ Full | |
| Histogram | ✅ Full | |
| Summary | ✅ Full | |
| ExponentialHistogram | ✅ Full |
Configuring the Sawmills Drop Metric Datapoints Processor
The Sawmills Drop Metric Datapoints Processor removes specific metric datapoints based on metric names and optional filters. Use this processor to reduce metric volume by dropping unwanted datapoints before they reach your destination.Configuration Components
1. Name
- Description: Identifier for your processor. Use a unique and descriptive name to differentiate between multiple processors.
2. Metric Names
- Description: List of metric names to target for dropping. Supports wildcard patterns.
- Examples:
http.server.request.duration- matches exact metric namehttp.server.*- matches all metrics starting withhttp.server.*.request.*- matches any metric containing.request.
- Functionality: All datapoints from metrics matching these patterns will be dropped unless narrowed by datapoint filters.
3. Datapoint Filters (Optional)
- Description: Conditions to narrow which datapoints are dropped. Without filters, all datapoints for the selected metrics are dropped.
- Logic Options:
- Match all (AND): All conditions must be met for the datapoint to be dropped.
- Match any (OR): At least one condition must be met for the datapoint to be dropped.
-
Choose the attribute key:
- Select from available metric attributes/labels
-
Select a comparison operator:
- Equals / Not Equals
- Contains / Not Contains
- Regex / Not Regex
-
Provide a value:
- Enter the value to match against
Use Cases
- Cost Optimization: Drop high-cardinality metrics that provide limited value.
- Noise Reduction: Remove metrics from test or development environments.
- Selective Filtering: Keep only datapoints with specific label values by dropping everything else.
- Cardinality Control: Drop datapoints with specific high-cardinality label values.
Implementation Notes
- Metric name patterns support wildcards (
*) for flexible matching. - When no datapoint filters are specified, all datapoints for matching metrics are dropped.
- Combine metric name patterns with datapoint filters for precise control over which datapoints to remove.