Fixed a small bug and made the DATADOG_API_KEY necessary.