Configure Hekad poolsize by pillar data
The poolsize must be increased depending on the number of filters.
Typically, the metric_collector on controller nodes and the aggregator on
monitoring node(s) should probably use poolsize=200.
diff --git a/metadata/service/remote_collector/single.yml b/metadata/service/remote_collector/single.yml
index e141799..120414c 100644
--- a/metadata/service/remote_collector/single.yml
+++ b/metadata/service/remote_collector/single.yml
@@ -3,7 +3,10 @@
classes:
- service.heka.support
parameters:
+ _param:
+ remote_collector_poolsize: 100
heka:
remote_collector:
enabled: true
influxdb_time_precision: ms
+ poolsize: ${_param:remote_collector_poolsize}