www/category-category-module-es5.js
/**
     * Returns true if the metric is custom and does not start with reserved prefix, or if
     * the metric is one of out of the box page load trace metrics.
     */
Returns true if the metric is custom and does not start with reserved prefix, or if
the metric is one of out of the box page load trace metrics.
Returns true if the metric is custom and does not start with reserved prefix or if the metric is one of out of the box page load trace metrics .
function isValidMetricName(name, traceName) {
      if (name.length === 0 || name.length > MAX_METRIC_NAME_LENGTH) {
        return false;
      }
      return traceName && traceName.startsWith(OOB_TRACE_PAGE_LOAD_PREFIX) && oobMetrics.indexOf(name) > -1 || !name.startsWith(RESERVED_AUTO_PREFIX);
    }
function isValidMetricName ( name , traceName ) { if ( name . length === 0 || name . length > MAX_METRIC_NAME_LENGTH ) { return false ; } return traceName && traceName . startsWith ( OOB_TRACE_PAGE_LOAD_PREFIX ) && oobMetrics . indexOf ( name ) > - 1 || ! name . startsWith ( RESERVED_AUTO_PREFIX ) ; }
Returns true if the metric is custom and does not start with reserved prefix, or if
 the metric is one of out of the box page load trace metrics.
Returns true if the metric is custom and does not start with reserved prefix or if the metric is one of out of the box page load trace metrics .