Closed
Description
Component(s)
exporter/otelarrow
Is your feature request related to a problem? Please describe.
I want to open Arrow streams where specified metadata sent per stream message all match on a per stream basis, similar to configuring metadata_keys
in the batch processor.
Describe the solution you'd like
Similar to the batch processor, add the below configuration fields:
metadata_keys (default = empty): When set, this exporter will create one arrow exporter instance per distinct combination of values in the client.Metadata.
metadata_cardinality_limit (default = 1000): When metadata_keys is not empty, this setting limits the number of unique combinations of metadata key values that will be processed over the lifetime of the exporter.
Then, for each unique combination of metadata keys, an arrow exporter object is created. This object creates the number of streams specified by num_streams
. The maximum possible number of open streams would be metadata_cardinality_limit * num_streams
.
Note: there is nothing arrow exporter specific about this logic. It could be used for any exporter where unique objects are desired per metadata combination.
Describe alternatives you've considered
No response
Additional context
No response