{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/92","labels_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/92/comments","events_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/92/events","html_url":"https://github.com/cloudfoundry/php-buildpack/issues/92","id":97065968,"number":92,"title":"Allow configuring a custom NewRelic app name","user":{"login":"dmikusa-pivotal","id":4643262,"avatar_url":"https://avatars.githubusercontent.com/u/4643262?v=3","gravatar_id":"","url":"https://api.github.com/users/dmikusa-pivotal","html_url":"https://github.com/dmikusa-pivotal","followers_url":"https://api.github.com/users/dmikusa-pivotal/followers","following_url":"https://api.github.com/users/dmikusa-pivotal/following{/other_user}","gists_url":"https://api.github.com/users/dmikusa-pivotal/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikusa-pivotal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikusa-pivotal/subscriptions","organizations_url":"https://api.github.com/users/dmikusa-pivotal/orgs","repos_url":"https://api.github.com/users/dmikusa-pivotal/repos","events_url":"https://api.github.com/users/dmikusa-pivotal/events{/privacy}","received_events_url":"https://api.github.com/users/dmikusa-pivotal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-24T14:31:56Z","updated_at":"2015-09-02T14:28:29Z","closed_at":null,"body":"The build pack pulls the CF app name and uses that to configure NewRelic.\r\n\r\nhttps://github.com/cloudfoundry/php-buildpack/blob/master/extensions/newrelic/extension.py#L78-L79\r\n\r\nIn some cases like blue-green deployment this can cause problems.  It would be nice to allow overriding the app name, perhaps via env variable."},"comment":{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/comments/137101945","html_url":"https://github.com/cloudfoundry/php-buildpack/issues/92#issuecomment-137101945","issue_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/92","id":137101945,"user":{"login":"jtarchie","id":75184,"avatar_url":"https://avatars.githubusercontent.com/u/75184?v=3","gravatar_id":"","url":"https://api.github.com/users/jtarchie","html_url":"https://github.com/jtarchie","followers_url":"https://api.github.com/users/jtarchie/followers","following_url":"https://api.github.com/users/jtarchie/following{/other_user}","gists_url":"https://api.github.com/users/jtarchie/gists{/gist_id}","starred_url":"https://api.github.com/users/jtarchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtarchie/subscriptions","organizations_url":"https://api.github.com/users/jtarchie/orgs","repos_url":"https://api.github.com/users/jtarchie/repos","events_url":"https://api.github.com/users/jtarchie/events{/privacy}","received_events_url":"https://api.github.com/users/jtarchie/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T14:28:29Z","updated_at":"2015-09-02T14:28:29Z","body":"Can a use just set the `newrelic.appname` in a custom `php.ini` file? This way it is persisted with the application code. The problem would be if it was an environment variable, as part of their deployment process now they need to remember to always set the environment variable now. "}}