Looks like this happens independent of the "mode". I get same for memory
consumption with following configs,
<pattern factor="memory-consumption" mode="loop">
<!-- Sample values -->
<sampleValues>20,100</sampleValues>
<!-- Duration of each sample value in seconds -->
<sampleDuration>600</sampleDuration>
</pattern>
On Tue, Feb 24, 2015 at 12:40 AM, Lahiru Sandaruwan <[email protected]>
wrote:
> Hi,
>
> 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
> Thanks.
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: [email protected] blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>
>
--
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware
email: [email protected] blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146