lib/dispatcher/metric-name.js
function (metricType, statsdKey) {
                statsdKey = statsdKey.replace(/([^a-zA-Z0-9:_])/g, '_');
                return [prefixes[metricType], '_', statsdKey].join('');
            }
function (metricType, statsdKey) {
                statsdKey = statsdKey.replace(/([^a-zA-Z0-9:_])/g, '_');
                return [prefixes[metricType], '_', statsdKey].join('');
            }
function ( metricType , statsdKey ) { statsdKey = statsdKey . replace ( / ([^a-zA-Z0-9:_]) / g , '_' ) ; return [ prefixes [ metricType ] , '_' , statsdKey ] . join ( '' ) ; }
Custom events don't allow to have dots in the name so we need to replace them with '_'
Custom events don t allow to have dots in the name so we need to replace them with _