Module filter

Module filter 

Source

Functionsยง

combine_measurements_and_filters
Combine measurements (as exact matches) and filter patterns into a single list Measurements are converted to anchored regex patterns for exact matching
compile_filters
Compile filter patterns into regex objects
matches_any_filter
Check if a measurement name matches any of the compiled filters Returns true if filters is empty (no filters = match all)
measurements_to_anchored_regex
Convert measurement names to anchored regex patterns for exact matching This escapes special regex characters and adds ^ and $ anchors