Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic application name detection #92

Closed
jeffkreeftmeijer opened this issue Jan 25, 2017 · 1 comment
Closed

Automatic application name detection #92

jeffkreeftmeijer opened this issue Jan 25, 2017 · 1 comment
Milestone

Comments

@jeffkreeftmeijer
Copy link
Member

In the Ruby integration, we automatically detect the application name from Rails applications. In Elixir projects, we should be able to default to Mix.Project.config[:app] as the project name.

WDYT @arjan, @tombruijn?

Related: #49.

@jeffkreeftmeijer jeffkreeftmeijer modified the milestone: Elixir 1.0 Jan 25, 2017
@arjan
Copy link
Contributor

arjan commented Jan 25, 2017

Relates to #91 as well; Mix functions are not usable in runtime. However what you could do is update the instructions to let people put the following in the project's config.exs:

config :appsignal, :config,
  name: Mix.Project.config[:app],
  env: Mix.env

(untested, but should work)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants