Writing methods for fetching newrelic data - still work in progress!