Description
Noticed $subject.
Configs,
<pattern factor="load-average" mode="continue">
<!-- Sample values -->
<sampleValues>20</sampleValues>
<!-- Duration of each sample value in seconds -->
<sampleDuration>60</sampleDuration>
</pattern>
See below logs,
[2015-02-24 00:34:06,846] INFO
{org.apache.stratos.mock.iaas.statistics.generator.MockHealthStatisticsUpdater}- Continuing last sample value: [cartridge-type] php [factor] LoadAverage [value] 20
[2015-02-24 00:34:06,846] INFO
{org.apache.stratos.mock.iaas.statistics.generator.MockHealthStatisticsGenerator}- Mock statistics updater task stopped: [service-name] php [factor] LoadAverage
....
[2015-02-24 00:34:36,539] DEBUG
{org.apache.stratos.autoscaler.rule.RuleLog} - [scaling] [cluster] php1.php.domain RIF predicted value: 0.0[2015-02-24 00:34:36,539] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog}
- [scaling] [cluster] php1.php.domain RIF threshold: 50.0
[2015-02-24 00:34:36,540] DEBUG
{org.apache.stratos.autoscaler.rule.RuleLog} - [scaling] [cluster] php1.php.domain MC predicted value: 20.0[2015-02-24 00:34:36,540] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog}
- [scaling] [cluster] php1.php.domain MC threshold: 40.0
[2015-02-24 00:34:36,540] DEBUG
{org.apache.stratos.autoscaler.rule.RuleLog} - [scaling] [cluster] php1.php.domain LA predicted value: 0.0[2015-02-24 00:34:36,541] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog}
- [scaling] [cluster] php1.php.domain LA threshold: 40.0