backends/graphite.js
function sk(key) {
    if (globalKeySanitize) {
      return key;
    } else {
      return key.replace(/\s+/g, '_')
                .replace(/\//g, '-')
                .replace(/[^a-zA-Z_\-0-9\.]/g, '');
    }
  }
function sk(key) {
    if (globalKeySanitize) {
      return key;
    } else {
      return key.replace(/\s+/g, '_')
                .replace(/\//g, '-')
                .replace(/[^a-zA-Z_\-0-9\.]/g, '');
    }
  }
function sk ( key ) { if ( globalKeySanitize ) { return key ; } else { return key . replace ( / \s+ / g , '_' ) . replace ( / \/ / g , '-' ) . replace ( / [^a-zA-Z_\-0-9\.] / g , '' ) ; } }
Sanitize key for graphite if not done globally
Sanitize key for graphite if not done globally