{"action":"created","issue":{"url":"https://api.github.com/repos/appsignal/appsignal-elixir/issues/17","repository_url":"https://api.github.com/repos/appsignal/appsignal-elixir","labels_url":"https://api.github.com/repos/appsignal/appsignal-elixir/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/appsignal/appsignal-elixir/issues/17/comments","events_url":"https://api.github.com/repos/appsignal/appsignal-elixir/issues/17/events","html_url":"https://github.com/appsignal/appsignal-elixir/issues/17","id":181551638,"number":17,"title":"Move environment to string rather than atom?","user":{"login":"stevedomin","id":512246,"avatar_url":"https://avatars.githubusercontent.com/u/512246?v=3","gravatar_id":"","url":"https://api.github.com/users/stevedomin","html_url":"https://github.com/stevedomin","followers_url":"https://api.github.com/users/stevedomin/followers","following_url":"https://api.github.com/users/stevedomin/following{/other_user}","gists_url":"https://api.github.com/users/stevedomin/gists{/gist_id}","starred_url":"https://api.github.com/users/stevedomin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevedomin/subscriptions","organizations_url":"https://api.github.com/users/stevedomin/orgs","repos_url":"https://api.github.com/users/stevedomin/repos","events_url":"https://api.github.com/users/stevedomin/events{/privacy}","received_events_url":"https://api.github.com/users/stevedomin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T23:39:45Z","updated_at":"2016-10-07T06:49:05Z","closed_at":"2016-10-07T06:49:05Z","body":"Right now the environment is set with the following config:\r\n\r\n```\r\nconfig :appsignal, :config,\r\n  name: :my_first_app,\r\n  push_api_key: \"your-hex-appsignal-key\",\r\n  env: :prod\r\n```\r\n\r\nI'm interested to understand if there is any reason for not making the environment a string rather than an atom. At the moment it prevents using anything else than `:prod`, `:test` or `:dev`. I'd really like to set it to `staging` for instance."},"comment":{"url":"https://api.github.com/repos/appsignal/appsignal-elixir/issues/comments/252166051","html_url":"https://github.com/appsignal/appsignal-elixir/issues/17#issuecomment-252166051","issue_url":"https://api.github.com/repos/appsignal/appsignal-elixir/issues/17","id":252166051,"user":{"login":"arjan","id":24722,"avatar_url":"https://avatars.githubusercontent.com/u/24722?v=3","gravatar_id":"","url":"https://api.github.com/users/arjan","html_url":"https://github.com/arjan","followers_url":"https://api.github.com/users/arjan/followers","following_url":"https://api.github.com/users/arjan/following{/other_user}","gists_url":"https://api.github.com/users/arjan/gists{/gist_id}","starred_url":"https://api.github.com/users/arjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjan/subscriptions","organizations_url":"https://api.github.com/users/arjan/orgs","repos_url":"https://api.github.com/users/arjan/repos","events_url":"https://api.github.com/users/arjan/events{/privacy}","received_events_url":"https://api.github.com/users/arjan/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T06:49:05Z","updated_at":"2016-10-07T06:49:05Z","body":"The reason is that `Mix.env` also returns an atom. But I don't think there is a reason you cannot put `:staging` there; you can put any atom there, it will be converted to a string when sent to Appsignal."}}
{"actor":{"display_login":"arjan"}}