using newrelic apis