-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Is your feature request related to a problem? Please describe.
Google Cloud Exporter communicate with an API that has a hard limit on number of data points sent in one request.
Introducing a Batch Processor before it can lead to situations in which the number of sent metrics is smaller than the limit but, the number of data points is above the limit, effectively dropping some of the data.
Describe the solution you'd like
I am proposing a new key (count_metric_data_points) in the BatchProcessor, that would be a boolean, which defaults to false.
False would correspond to current behaviour, whereas true would make processor count and limit data points rather than metrics.
Describe alternatives you've considered
I've considered introducing the limiting and batching in the exporter itself, but this would introduce a lot of custom logic that is already present in batch processor.