Configuration methods
There are two configuration methods the installer provides: using a configuration file or using environment variables.1. Configuration file
It’s possible to configure AppSignal with the Mix configuration. The AppSignal for Elixir package looks for the configuration loaded by Mix in the. Our installer will write the configuration toconfig/appsignal.exs and add an import to your other configuration file(s).
When this option is chosen the given Push API key is written to the configuration file. We do not recommend checking this key into version control (git/svn/mercurial/etc). Instead, use a APPSIGNAL_PUSH_API_KEY environment variable or a secrets management tool for your application.
See the configuration documentation for more information.
2. Environment variables
It’s possible to configure AppSignal using only system environment variables. When this option is selected no configuration is written to the file system. See the configuration documentation for more information.Usage
On the command line in your project run:Exit codes
- Exits with status code
0if the command has completed successfully. - Exits with status code
1if the command has completed with an error.