brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: fix time-sensitive sensor derivat...
Date Mon, 02 Feb 2015 16:09:15 GMT
GitHub user ahgittin opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/501

    fix time-sensitive sensor derivation when rebinding to old sensors

    before this, autoscaler might scale out on rebind, because the
    last total reqs might be 100, if data is v old, current value might be 10000;
    a recent timestamp is attached to initial value, meaning it computes 9900 new reqs in
a 1s window.
    
    this forces an invalid timestamp for enrichers
    
    better fix would be to store timestamp on sensors themselves

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ahgittin/incubator-brooklyn fix-delayed-rebind-time-sensors

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-brooklyn/pull/501.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #501
    
----
commit ed04d6795cb0727334f32844bfa043608c5bd4f7
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Date:   2015-02-02T12:37:55Z

    fix time-sensitive sensor derivation when rebinding to old sensors
    
    before this, autoscaler might scale out on rebind, because the
    last total reqs might be 100, if data is v old, current value might be 10000;
    a recent timestamp is attached to initial value, meaning it computes 9900 new reqs in
a 1s window.
    
    this forces an invalid timestamp for enrichers
    
    better fix would be to store timestamp on sensors themselves

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message