Enabling and configuring Automation Action HTTP sensor
The Automation Action HTTP sensor is a component of Managing automation feature.
For more information, see Managing automation.
This sensor allows you to run the HTTP actions that are created by using the Action catalog on the target agent. The sensor is automatically deployed and installed after you install the Instana agent.
Prerequisites
Before you enable this sensor, complete the following steps:
- Review the information in Securely using the automation framework.
- If the sensor is used in a self-hosted (on-premises) environment, ensure that the automation feature flag is enabled.
Configuring the sensor
By default, the sensor is disabled. To enable the sensor, update the agent configuration file as shown in the following example:
com.instana.plugin.action.http:
enabled: true # by default is false
Maximum concurrent actions configuration
By default, the HTTP sensor runs 10 concurrent HTTP actions. If
you want to control the number of concurrent HTTP actions, add the
maxConcurrentActions attribute to the HTTP sensor
configuration in the agent configuration file as follows:
com.instana.plugin.action.http:
enabled: true
maxConcurrentActions: 5 # optional, default value is 10
Default timeout configuration
When you create HTTP action, you can set the maximum time in
seconds to wait for HTTP read (that is, HTTP read timeout). If you
do not set the HTTP read timeout during HTTP action creation, then
by default, HTTP reads times out after 10 seconds. If you want to
change the default HTTP read timeout, add the
defaultTimeout attribute to the HTTP sensor
configuration section in the agent configuration file as
follows:
com.instana.plugin.action.http:
enabled: true
defaultTimeout: 30 # optional, default timeout is 10 seconds
Integrating a secret manager
If the HTTP action in your action catalog uses Vault parameters, you must integrate the host agent with a secret manager.