Fix saving key in newrelic monitoring