Most agent settings that one may want to change quickly are available as environment variables, see https://www.instana.com/docs/setup_and_manage/host_agent/on/docker. For example, setting the mode via environment variable is supported as well with INSTANA_AGENT_MODE
, see e.g., https://hub.docker.com/r/instana/agent. The valid values are:
APM
: the default, the agent monitors everything
INFRASTRUCTURE
: the agent will collect metrics and entities but not traces
OFF
: agent runs but collects no telemetry
AWS
: agent will collect data about AWS managed services in a region and an account, supported on EC2 and Fargate, and with some extra configurations, on hosts outside AWS
On Kubernetes, it is also of course possible to use a ConfigMap to override files in the agent container.