We have implemented APMIA as a Docker image and activated AWSMonitor using the environmentlat variable method - APMENV_INTROSCOPE_AGENT_EXTENSIONS_BUNDLES_LOAD=AWSExtension. We are getting too much data and the Cluodwatch API usage cost is increasing so we would like to disable all other AWS service but EC2.
How can we disable all AWS services but EC2?
"You can now pass any configuration for the IntroscopeAgent.profile, Extensions.profile, or bundle.profile of an individual extensions using the environment variable. You must append "APMENV_" before the profile properties and replace all period "." characters with underscore "_" characters to obtain the key of its equivalent environment variable. The environment variable key that is created is not case sensative. For example, to pass agentManager.url.1 as an environment variable, the key is APMENV_agentManager_url_1 or APMENV_AGENTMANAGER_URL_1. As a best practice, pass all the environment variables as uppercase."
In order to disable all AWS services but EC2 you would need to add the following environmental variables: