function getMetrics(){
        var m = JSON.parse(JSON.stringify(metrics));
        
        //getting app version
        m._app_version = m._app_version || Countly.app_version;
        
        m._os = m._os || os.type();
        m._os_version = m._os_version || os.release();
        platform = os.type();
        
        log("Got metrics", m);
        return m;
    }
function getMetrics(){
        var m = JSON.parse(JSON.stringify(metrics));
        
        //getting app version
        m._app_version = m._app_version || Countly.app_version;
        
        m._os = m._os || os.type();
        m._os_version = m._os_version || os.release();
        platform = os.type();
        
        log("Got metrics", m);
        return m;
    }
function getMetrics ( ) { var m = JSON . parse ( JSON . stringify ( metrics ) ) ; //getting app version m . _app_version = m . _app_version || Countly . app_version ; m . _os = m . _os || os . type ( ) ; m . _os_version = m . _os_version || os . release ( ) ; platform = os . type ( ) ; log ( "Got metrics" , m ) ; return m ; }
get metrics of the browser
get metrics of the browser