Setting environment variables | APM Insight Ruby agent

Possibility of providing environment variable in apminsight.conf file

Yes, it is possible. It can be done by enclosing the environment variable with { }. This can be done for all the options in apminsight.conf file.

Note: The agent looks for the environment variable in ENV hash only

Example:
application.name={app_name}
Here app_name is an environment variable