public static function configure($apiKey, $applicationKey, $datadogHost = 'https://app.datadoghq.com', $submitEventsOver = 'TCP', $localStatsdServer = 'localhost', $localStatsdPort = 8125, $curlVerifySslHost = 2, $curlVerifySslPeer = 1) { self::$__apiKey = $apiKey; self::$__applicationKey = $applicationKey; self::$__datadogHost = $datadogHost; self::$__submitEventsOver = $submitEventsOver; self::$__apiCurlSslVerifyHost = $curlVerifySslHost; self::$__apiCurlSslVerifyPeer = $curlVerifySslPeer; self::$__server = $localStatsdServer; self::$__serverPort = $localStatsdPort; }
public static function configure($apiKey, $applicationKey, $datadogHost = 'https://app.datadoghq.com') { self::$__apiKey = $apiKey; self::$__applicationKey = $applicationKey; self::$__datadogHost = $datadogHost; }