Connectum API Reference / @connectum/otel / shared / applyAttributeFilter
Function: applyAttributeFilter() ​
applyAttributeFilter(
attrs,filter?):Attributes
Defined in: shared.ts:254
Applies an attribute filter to the given attributes.
Parameters ​
attrs ​
Record<string, string | number>
Base attributes to filter
filter? ​
Optional filter function
Returns ​
Attributes
Filtered attributes