[processor/filter] Ensure OTTL configuration provides same features as existing configuration #16413
Closed
Description
Component(s)
processor/filter
Is your feature request related to a problem? Please describe.
The OTTL package is being added to the filterprocessor to support generic filtering of spans, span events, metrics, data points, and log records. To simplify the filterprocessor and its config, I propose that only the OTTL is needed, but before any existing configuration can be deprecated and removed the existing feature set of the processor must be reviewed to ensure that OTTL can handle all existing user situations. Any missing features must be added to the OTTL before this issue can be closed.
Describe the solution you'd like
Filterprocessor feature set is reviewed and it is confirmed that OTTL can handle all existing features.
Feature gaps:
- Support for
include
statements - Regex matching where the input is converted to a string if it is a bool, int, or double. [pkg/ottl] update IsMatch to convert bool, double, and int to string. #16434
- OTTL metric conditions support dropping the metric if any of the metrics datapoints have a specific attribute or have a specific attribute with a specific value.
Describe alternatives you've considered
No response
Additional context
No response