Definition
/**
* Create a BatchingMetricProcessor.
*
* Collects metrics in memory and exports them in batches for efficiency.
* Metrics are exported when batch size is reached, flush() is called, or shutdown().
*
* @param MetricExporter $exporter The exporter to send metrics to
* @param int $batchSize Number of metrics to collect before exporting (default 512)
*/
batching_metric_processor(MetricExporter $exporter, int $batchSize) : BatchingMetricProcessor