<commit_before>import conf from './lib/conf';
import logger from './lib/logger';
import statsd from './lib/statsd';

export interface StatsdConfig {
  debug?: boolean | any;
  cacheDns?: boolean;
  logger?: { debug: any };
  prefix?: string;
  url?: string;
  host?: string;
  port?: number;
  global_tags?: string[];
}

declare module 'node-oz-helpers' {
  export function getConf(): typeof conf;
  export function getLogger(): typeof logger;
  export function getStatsD(config: StatsdConfig): typeof statsd;
}<commit_msg>made statsD config optional.<commit_after>import conf from './lib/conf';
import logger from './lib/logger';
import statsd from './lib/statsd';

export interface StatsdConfig {
  debug?: boolean | any;
  cacheDns?: boolean;
  logger?: { debug: any };
  prefix?: string;
  url?: string;
  host?: string;
  port?: number;
  global_tags?: string[];
}

declare module 'node-oz-helpers' {
  export function getConf(): typeof conf;
  export function getLogger(): typeof logger;
  export function getStatsD(config?: StatsdConfig): typeof statsd;
}
{'fraction_non_alphanumeric': 0.1374764595103578, 'fraction_numerical': 0.0, 'mean_word_length': 4.56544502617801, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3244605', 'n_tokens_mistral': 321, 'n_tokens_neox': 317, 'n_words': 107}