dist/monitor-all.js
function(probeJSON) {
      var probeKey = probeJSON.probeClass,
          initParams = probeJSON.initParams;

      // Allow probes to be externally identified by name
      if (probeJSON.probeName) {
        return probeJSON.probeName;
      }

      if (initParams) {
        _.keys(initParams).sort().forEach(function(key){
          probeKey += ':' + key + '=' + initParams[key];
        });
      }
      return probeKey;
    }
function(probeJSON) {
      var probeKey = probeJSON.probeClass,
          initParams = probeJSON.initParams;

      // Allow probes to be externally identified by name
      if (probeJSON.probeName) {
        return probeJSON.probeName;
      }

      if (initParams) {
        _.keys(initParams).sort().forEach(function(key){
          probeKey += ':' + key + '=' + initParams[key];
        });
      }
      return probeKey;
    }
function ( probeJSON ) { var probeKey = probeJSON . probeClass , initParams = probeJSON . initParams ; // Allow probes to be externally identified by name if ( probeJSON . probeName ) { return probeJSON . probeName ; } if ( initParams ) { _ . keys ( initParams ) . sort ( ) . forEach ( function ( key ) { probeKey += ':' + key + '=' + initParams [ key ] ; } ) ; } return probeKey ; }
Build a probe key from the probe data

@method buildProbeKey
@protected
@param probeJSON {Object} - An object containing:
@param probeJSON.probeName {String} - The client-defined probe name
-or-
@param probeJSON.probeClass {String} - The probe class name (required)
@param probeJSON.initParams {Object} - Probe initialization parameters (if any)
@return probeKey {String} - A string identifying the probe
Build a probe key from the probe data