I think a better pattern here would be to create an array with 'statsd native counters' at https://github.com/etsy/statsd/blob/master/stats.js#L14 and add that to the counters on startup. This way we can check here if the keys are in the native array instead of maintaining the same list in two locations.