mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
When statistics_exporter handles getMetrics it may take a long time for the result of command it sends to be returned if the instance's command stream is overloaded, this in turn would cause the slave to miss its window to reply on the getMetrics request and no metrics for the slave would be available. Ensure statistics_exporter does not use more than 5 seconds to respond by adding a timeout to the metrics gathering.