Github user bostko commented on the pull request:
https://github.com/apache/incubator-brooklyn/pull/731#issuecomment-118779959
Svet suggested that everywhere we should use 0 as a default null value for
the average enricher because we could often have situations where some of the
entities isn't up.
One way I can think of for doing this is if we change the argument
`valueToReportIfNoSensors` to `0` in Enrichers.java:268 but if we do so we have
to call `defaultValueForUnreportedSensors(null)` on the enricher to get to the
old behavior.
Basically we should consider how the null values will be treated especially
when binding a Scaling policy to aggregated sensor.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---