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