(instance)
return not is_affirmative(instance.get('collect_realtime_only', True))
Whether or not this instance should collect and report historical metrics. This is true if the instance
        is a 'sidecar' for another instance (and in such case only report historical metrics). This is also true
        for legacy reasons if `collect_realtime_only` is set to False.
Whether or not this instance should collect and report historical metrics. This is true if the instance
        is a 'sidecar' for another instance (and in such case only report historical metrics). This is also true
        for legacy reasons if `collect_realtime_only` is set to False.
Whether or not this instance should collect and report historical metrics . This is true if the instance is a sidecar for another instance ( and in such case only report historical metrics ) . This is also true for legacy reasons if collect_realtime_only is set to False .
def _should_collect_historical(instance):
        """Whether or not this instance should collect and report historical metrics. This is true if the instance
        is a 'sidecar' for another instance (and in such case only report historical metrics). This is also true
        for legacy reasons if `collect_realtime_only` is set to False.
        """
        if is_affirmative(instance.get('collect_historical_only', False)):
            return True
        return not is_affirmative(instance.get('collect_realtime_only', True))
def _should_collect_historical ( instance ) : if is_affirmative ( instance . get ( 'collect_historical_only' , False ) ) : return True return not is_affirmative ( instance . get ( 'collect_realtime_only' , True ) )