function DataDogReporter(apiKey, appKey, agent) {
    apiKey = apiKey || process.env.DATADOG_API_KEY;
    appKey = appKey || process.env.DATADOG_APP_KEY;

    if (!apiKey) {
        throw new Error('DATADOG_API_KEY environment variable not set');
    }

    // jscs:disable requireCamelCaseOrUpperCaseIdentifiers
    dogapi.initialize({api_key: apiKey, app_key: appKey, proxy_agent: agent });
    // jscs:enable requireCamelCaseOrUpperCaseIdentifiers
}
function DataDogReporter(apiKey, appKey, agent) {
    apiKey = apiKey || process.env.DATADOG_API_KEY;
    appKey = appKey || process.env.DATADOG_APP_KEY;

    if (!apiKey) {
        throw new Error('DATADOG_API_KEY environment variable not set');
    }

    
    dogapi.initialize({api_key: apiKey, app_key: appKey, proxy_agent: agent });
    
}
function DataDogReporter ( apiKey , appKey , agent ) { apiKey = apiKey || process . env . DATADOG_API_KEY ; appKey = appKey || process . env . DATADOG_APP_KEY ; if ( ! apiKey ) { throw new Error ( 'DATADOG_API_KEY environment variable not set' ) ; } // jscs:disable requireCamelCaseOrUpperCaseIdentifiers dogapi . initialize ( { api_key : apiKey , app_key : appKey , proxy_agent : agent } ) ; // jscs:enable requireCamelCaseOrUpperCaseIdentifiers }
DataDogReporter
DataDogReporter