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
Related Articles
Folder path of apminsight.conf file for Ruby gem, .NET, Java and PHP
For Ruby gem, the apminsight .conf can be found under <Gems Installed folder>/site24x7_apminsight/conf . You have to copy the apminsight.conf file to your Applications home directory. For eg., ...
Troubleshooting steps for the error message "ManageEngine Ruby agent configuration file does not exist in apminsight.conf"
After installation of the Ruby agent, please follow the steps below to ensure that the above error message does not come up: Copy the apminsight.conf file from {gem_installed_directory}/site24x7_apminsight/conf directory to application home ...
How to redirect agent logs to STDOUT or console
By default, agent logs are written to a log file in the specified or default directory of APM Insight Java agent. To redirect the agent logs to STDOUT or console, add "apminsight.console.logger=true" in apminsight.conf file and restart your ...
Steps to troubleshoot when you get NO DATA message for Ruby applications.
You may get NO DATA message for your APM Insight Ruby applications - the probable reasons are listed below with the corresponding troubleshooting instructions. Reason Cause Solution APM instance is UP but NO DATA message is received. There is no ...
Adding a Python agent to a Python application service
To monitor a Python application using Site24x7 APM, you need to integrate the Site24x7 Python agent as a system service. Follow the steps below to install the S24x7DataExporter, add the agent to a custom directory, and configure the environment. ...